Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't build an existing project in Qt creator 2.7.1 on Qt 5.0.2

Can't build an existing project in Qt creator 2.7.1 on Qt 5.0.2

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 Offline
    0 Offline
    0saberima
    wrote on 26 Jul 2014, 09:03 last edited by
    #1

    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 ?

    P.S.
    I'm running Qt Creator on ubuntu

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Jul 2014, 09:29 last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • 0 Offline
        0 Offline
        0saberima
        wrote on 26 Jul 2014, 09:41 last edited by
        #3

        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.

        1 Reply Last reply
        0
        • 0 Offline
          0 Offline
          0saberima
          wrote on 26 Jul 2014, 11:01 last edited by
          #4

          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

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 26 Jul 2014, 11:05 last edited by
            #5

            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

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            4/5

            26 Jul 2014, 11:01

            • Login

            • Login or register to search.
            4 out of 5
            • First post
              4/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved