gui: fix compiler selection if CXX is empty

This commit is contained in:
Matthias Krüger 2017-08-03 21:07:25 +02:00
parent 53002e40f6
commit ef80aba58f
1 changed files with 7 additions and 2 deletions

View File

@ -22,8 +22,13 @@ MOC_DIR = temp
OBJECTS_DIR = temp
UI_DIR = temp
QMAKE_CC = $$(CC)
isEmpty(QMAKE_CXX) {
isEmpty(CXX)) {
QMAKE_CXX = gcc
} else {
QMAKE_CXX = $$(CXX)
}
}
win32 {
CONFIG += windows