gui: fix compiler selection if CXX is empty
This commit is contained in:
parent
53002e40f6
commit
ef80aba58f
|
@ -22,8 +22,13 @@ MOC_DIR = temp
|
||||||
OBJECTS_DIR = temp
|
OBJECTS_DIR = temp
|
||||||
UI_DIR = temp
|
UI_DIR = temp
|
||||||
|
|
||||||
QMAKE_CC = $$(CC)
|
isEmpty(QMAKE_CXX) {
|
||||||
QMAKE_CXX = $$(CXX)
|
isEmpty(CXX)) {
|
||||||
|
QMAKE_CXX = gcc
|
||||||
|
} else {
|
||||||
|
QMAKE_CXX = $$(CXX)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
win32 {
|
win32 {
|
||||||
CONFIG += windows
|
CONFIG += windows
|
||||||
|
|
Loading…
Reference in New Issue