Pass the compiler information from the configure script to the musredit/musrgui configuration

This commit is contained in:
Bastian M. Wojek
2011-08-29 10:32:47 +00:00
parent b74a98c71c
commit 84467eae96
3 changed files with 26 additions and 6 deletions

View File

@ -45,8 +45,17 @@ exists( /usr/bin/cygwin1.dll ) {
QMAKE_LFLAGS_SHAPP = -Wl,--enable-auto-import
}
QMAKE_CC = gcc
QMAKE_CXX = g++
isEmpty( CC ) {
CC = gcc
}
isEmpty( CXX ) {
CXX = g++
}
QMAKE_CC = $${CC}
QMAKE_CXX = $${CXX}
QMAKE_LINK = $${CXX}
# install path for the XML configuration file
unix:xml.path = $${MUSREDIT_INSTALL_PATH}

View File

@ -38,8 +38,18 @@ exists( /usr/bin/cygwin1.dll ) {
}
INSTALLS += target
QMAKE_CC = gcc
QMAKE_CXX = g++
isEmpty( CC ) {
CC = gcc
}
isEmpty( CXX ) {
CXX = g++
}
QMAKE_CC = $${CC}
QMAKE_CXX = $${CXX}
QMAKE_LINK = $${CXX}
# install path for the XML configuration file
unix:xml.path = $${MUSRGUI_INSTALL_PATH}