Answer the question
In order to leave comments, you need to log in
How to create a qt gui project with cmake?
Good day!
There is a graphical application in c++ qt. He originally used qmake.
Then I decided that I needed to switch to cmake. Wrote this cmakelists.txt:
Answer the question
In order to leave comments, you need to log in
Didn't notice an important detail, qt5_use_modules should be after add_executable, everything worked
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question