Solved Creator project file: Widgets
-
When we create a new Qt Widgets project in Creator, is it still necessary to check for version 4 in the project file? Is it too soon to change?
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets vs QT += widgets
-
I think no. Also after I have learnt the cmake , I don't think qmake also necessary for many situations :).
-
@Psnarf If you do not want to support Qt 4 you don't need that version check.
-
@jsulm
Thank you. I can easily delete the version check that Creator automatically inserts into the project file. There is, indeed, a lot of Qt4 still active.