fixed system variable access bugs
This commit is contained in:
parent
8afe98617a
commit
1e3b65da6c
@ -1,14 +1,21 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
|
|
||||||
TARGET = musredit
|
TARGET = musredit
|
||||||
unix:target.path = $(ROOTSYS)/bin
|
# install path for musredit
|
||||||
|
unix:target.path = $$(ROOTSYS)/bin
|
||||||
macx:target.path = /Applications
|
macx:target.path = /Applications
|
||||||
win32:target.path = c:/musrfit/bin
|
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 ) {
|
exists( /usr/bin/cygwin1.dll ) {
|
||||||
QMAKE_LFLAGS_SHAPP = -Wl,--enable-auto-import
|
QMAKE_LFLAGS_SHAPP = -Wl,--enable-auto-import
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALLS += target
|
|
||||||
QMAKE_CC = gcc
|
QMAKE_CC = gcc
|
||||||
QMAKE_CXX = g++
|
QMAKE_CXX = g++
|
||||||
|
|
||||||
@ -25,11 +32,6 @@ CONFIG += qt \
|
|||||||
|
|
||||||
QT += xml
|
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 \
|
HEADERS = musredit.h \
|
||||||
PHelp.h \
|
PHelp.h \
|
||||||
PTextEdit.h \
|
PTextEdit.h \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
TARGET = musrgui
|
TARGET = musrgui
|
||||||
unix:target.path = $(ROOTSYS)/bin
|
unix:target.path = $$(ROOTSYS)/bin
|
||||||
macx:target.path = /Applications
|
macx:target.path = /Applications
|
||||||
|
|
||||||
exists( /usr/bin/cygwin1.dll ) {
|
exists( /usr/bin/cygwin1.dll ) {
|
||||||
@ -12,8 +12,8 @@ QMAKE_CC = gcc
|
|||||||
QMAKE_CXX = g++
|
QMAKE_CXX = g++
|
||||||
|
|
||||||
# install path for the XML configuration file
|
# install path for the XML configuration file
|
||||||
unix:xml.path = $(ROOTSYS)/bin/
|
unix:xml.path = $$(ROOTSYS)/bin/
|
||||||
macx:xml.path = $(ROOTSYS)/bin/
|
macx:xml.path = $$(ROOTSYS)/bin/
|
||||||
xml.files = musrgui_startup.xml
|
xml.files = musrgui_startup.xml
|
||||||
INSTALLS += xml
|
INSTALLS += xml
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user