2011-04-27 10:05:43 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = quotedfilenames
|
|
|
|
SOURCES = main.cpp
|
|
|
|
|
2014-11-18 13:57:21 +00:00
|
|
|
CONFIG += no_batch
|
|
|
|
|
|
|
|
INCLUDEPATH += "include folder"
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
RCCINPUT = "rc folder/test.qrc"
|
2014-11-18 13:57:21 +00:00
|
|
|
RCCOUTPUT = "cpp folder/test.cpp"
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-02-23 13:46:08 +00:00
|
|
|
qtPrepareTool(QMAKE_RCC, rcc)
|
|
|
|
|
|
|
|
rcc_test.commands = $$QMAKE_RCC -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
|
2011-04-27 10:05:43 +00:00
|
|
|
rcc_test.output = $$RCCOUTPUT
|
|
|
|
rcc_test.input = RCCINPUT
|
|
|
|
rcc_test.variable_out = SOURCES
|
|
|
|
rcc_test.name = RCC_TEST
|
|
|
|
rcc_test.CONFIG += no_link
|
2016-04-05 16:19:47 +00:00
|
|
|
rcc_test.depends = $$QMAKE_RCC_EXE
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMAKE_EXTRA_COMPILERS += rcc_test
|
|
|
|
|
|
|
|
DESTDIR = ./
|