Merge pull request #395 from hasufell/master

Don't hardcode g++ in the toolchain settings
This commit is contained in:
Cyril Soler 2016-05-27 12:44:14 -04:00
commit d03d73399d
3 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@ debug {
################################# Linux ########################################## ################################# Linux ##########################################
linux-* { linux-* {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
} }
linux-g++ { linux-g++ {
@ -64,7 +64,7 @@ win32-x-g++ {
################################# Windows ########################################## ################################# Windows ##########################################
win32 { win32 {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc MOC_DIR = temp/moc
DEFINES *= STATICLIB WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T DEFINES *= STATICLIB WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
@ -89,7 +89,7 @@ win32 {
################################# MacOSX ########################################## ################################# MacOSX ##########################################
mac { mac {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc MOC_DIR = temp/moc
} }

View File

@ -122,7 +122,7 @@ linux-* {
CONFIG += link_pkgconfig CONFIG += link_pkgconfig
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64 QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
contains(CONFIG, NO_SQLCIPHER) { contains(CONFIG, NO_SQLCIPHER) {
DEFINES *= NO_SQLCIPHER DEFINES *= NO_SQLCIPHER
@ -225,7 +225,7 @@ win32-x-g++ {
################################# Windows ########################################## ################################# Windows ##########################################
win32 { win32 {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc MOC_DIR = temp/moc
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
@ -259,7 +259,7 @@ win32 {
################################# MacOSX ########################################## ################################# MacOSX ##########################################
mac { mac {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc MOC_DIR = temp/moc
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW #DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW

View File

@ -70,7 +70,7 @@ linux-* {
DESTDIR = lib DESTDIR = lib
QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64 QMAKE_CXXFLAGS *= -Wall -D_FILE_OFFSET_BITS=64
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
SSL_DIR = /usr/include/openssl SSL_DIR = /usr/include/openssl
UPNP_DIR = /usr/include/upnp UPNP_DIR = /usr/include/upnp
@ -143,7 +143,7 @@ win32-x-g++ {
################################# Windows ########################################## ################################# Windows ##########################################
win32 { win32 {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc MOC_DIR = temp/moc
DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T DEFINES *= WINDOWS_SYS WIN32 STATICLIB MINGW WIN32_LEAN_AND_MEAN _USE_32BIT_TIME_T
@ -188,7 +188,7 @@ win32 {
################################# MacOSX ########################################## ################################# MacOSX ##########################################
mac { mac {
QMAKE_CC = g++ QMAKE_CC = $${QMAKE_CXX}
OBJECTS_DIR = temp/obj OBJECTS_DIR = temp/obj
MOC_DIR = temp/moc MOC_DIR = temp/moc
#DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW #DEFINES = WINDOWS_SYS WIN32 STATICLIB MINGW