You could have a look inside the QTDIR/mkspecs directory to see if the separator is set up correctly.
You could have a look inside the QTDIR/mkspecs directory to see if the separator is set up correctly.
I already did.
However, it's working when removing debug_and_release from
That's why I'm wondering if it's a qmake bug or ... (since it's woking on Linux & Mac OS).
sure, really simple :
Qt Code:
QT += core gui TARGET = qmaketest TEMPLATE = app CONFIG -= debug_and_release CONFIG *= qt warn_on release SOURCES += main.cpp\ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.uiTo copy to clipboard, switch view to plain text mode
just a basic .pro generated by Qt Creator in which I added the two CONFIG lines. Removing or commenting the first CONFIG line makes the application compile. Otherwise, I get :
where a '\' is missing. I really don't get it :/process_begin: CreateProcess(NULL, c:\Qt\Desktop\Qt\4.7.2\mingw\binuic.exe ..\qmaketest\mainwindow.ui -o ui_mainwindow.h, ...) failed.
What if you change the relevant two lines to:
Octal (19th March 2011)
It is indeed working, but now if you try :
Qt Code:
CONFIG += release CONFIG(debug, debug|release) { message("Debug") } else { message("Release") }To copy to clipboard, switch view to plain text mode
You'll get "Release" 3 times.
Anyway, thank you for your help, I think it's a bug on qmake. I'll report it![]()
Bookmarks