Qt without qmake and the .pro file
-
Hi all,
Is it possible to use Qt without qmake and the .pro file?
Or will those always be required due to the signal and slot mechanism?
I ask because I may want to use Qt with an unsupported language, thus if qmake generates a Makefile it will overwrite my own makefile and exclude non-C++ source files. -
Hi all,
Is it possible to use Qt without qmake and the .pro file?
Or will those always be required due to the signal and slot mechanism?
I ask because I may want to use Qt with an unsupported language, thus if qmake generates a Makefile it will overwrite my own makefile and exclude non-C++ source files.@clarify Many people use Qt with other build systems. CMake is probably much more common than qmake at this point. I'd recommend using CMake as it is well supported bt Qt Creator, and pretty much every other IDE these days.
-
@clarify Many people use Qt with other build systems. CMake is probably much more common than qmake at this point. I'd recommend using CMake as it is well supported bt Qt Creator, and pretty much every other IDE these days.
@wrosecrans How about if I just want to use a script? Is there a way to generate the moc files without providing a ton of -I parameters?
-
@wrosecrans How about if I just want to use a script? Is there a way to generate the moc files without providing a ton of -I parameters?
@clarify said in Qt without qmake and the .pro file:
Is there a way to generate the moc files without providing a ton of -I parameters?
moc needs to see all includes similar to the compiler so - no.
-
@wrosecrans said in Qt without qmake and the .pro file:
CMake
There are so many build systems these days. I chose qmake because all the examples I saw were using it. I suppose if I saw an example using cmake I might consider switching.
-
@wrosecrans said in Qt without qmake and the .pro file:
CMake
There are so many build systems these days. I chose qmake because all the examples I saw were using it. I suppose if I saw an example using cmake I might consider switching.