Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Can't build an existing project in Qt creator 2.7.1 on Qt 5.0.2
i created a new project in Qt and i was able to build and run it perfectly. I closed Qt and decided to open the now existing project to make some add ons to it. Now i can't build or run the project anymore and the syntax highliting that used to work when i newly created the project isn't working. It's as if no project has been opened in Qt. All the tabs in the menu bar open except "Build". How do i get this to work ?
I'm running Qt Creator on ubuntu
Hi and welcome to devnet,
Are you sure it's not Qt 5.2.0 ? If so, Qt Creator 3 is mandatory since 5.2
this is what "About Qt Creator" says;
Qt Creator 2.7.1
Based on Qt 5.0.2 (64 bit)
Built on Sep 6 2013 at 08:20:19
Copyright 2008-2013 Digia Plc. All rights reserved.
Ok! i think i figured it out. I should have opened existing project and selected the file with the .pro extension rather. Instead of selecting the ones ending with .cpp
Based on Qt means the Qt version used to build Qt Creator, not the one you are currently using.
Indeed, you need a project qmake or other in order to build something