fixed system variable access bugs

This commit is contained in:
nemu 2010-02-24 08:34:44 +00:00
parent 8afe98617a
commit 1e3b65da6c
2 changed files with 12 additions and 10 deletions

View File

@ -1,14 +1,21 @@
TEMPLATE = app
TARGET = musredit
unix:target.path = $(ROOTSYS)/bin
# install path for musredit
unix:target.path = $$(ROOTSYS)/bin
macx:target.path = /Applications
win32:target.path = c:/musrfit/bin
INSTALLS += target
# This is only needed for SL5.1
exists ( /opt/fontconfig-2.8.0/lib/libfontconfig.so ) {
unix:LIBS += -L/opt/fontconfig-2.8.0/lib/ -lfontconfig
}
exists( /usr/bin/cygwin1.dll ) {
QMAKE_LFLAGS_SHAPP = -Wl,--enable-auto-import
}
INSTALLS += target
QMAKE_CC = gcc
QMAKE_CXX = g++
@ -25,11 +32,6 @@ CONFIG += qt \
QT += xml
# This is only needed for SL5.1
exists ( /opt/fontconfig-2.8.0/lib/libfontconfig.so ) {
unix:LIBS += -L/opt/fontconfig-2.8.0/lib/ -lfontconfig
}
HEADERS = musredit.h \
PHelp.h \
PTextEdit.h \

View File

@ -1,6 +1,6 @@
TEMPLATE = app
TARGET = musrgui
unix:target.path = $(ROOTSYS)/bin
unix:target.path = $$(ROOTSYS)/bin
macx:target.path = /Applications
exists( /usr/bin/cygwin1.dll ) {
@ -12,8 +12,8 @@ QMAKE_CC = gcc
QMAKE_CXX = g++
# install path for the XML configuration file
unix:xml.path = $(ROOTSYS)/bin/
macx:xml.path = $(ROOTSYS)/bin/
unix:xml.path = $$(ROOTSYS)/bin/
macx:xml.path = $$(ROOTSYS)/bin/
xml.files = musrgui_startup.xml
INSTALLS += xml