Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Creator won't recognize my .pro file in v2.7.2
Forum Updated to NodeBB v4.3 + New Features

QT Creator won't recognize my .pro file in v2.7.2

Scheduled Pinned Locked Moved Qt Creator and other tools
9 Posts 4 Posters 2.8k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kevev
    wrote on last edited by
    #1

    I am new to a team that uses QT Creaor for development and they have a .pro file for the project. I have been unable to import the project file into qt creator. I have also been unable to find any info on this while searching the web.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      steno
      wrote on last edited by
      #2

      Is there any error message in the output after parsing the .pro file?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kevev
        wrote on last edited by
        #3

        No, it just doesn't offer the option of importing it as a project. I'm pretty new to using qt creator so it might be easy to fix but I have not found out how yet. So far I have tried:

        1. On the welcome screen click open project. No option for .pro file
        2. File ->Open File or Project: Select projectname.pro and it opens it as a text file.

        Also, my coworker is also using 2.7.2 and doesn't seem to have this problem.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          welcome to devnet

          Which OS are you on?
          The file dialog should give you the option to navigate to the folder with the .pro file and list it when you have opened the folder.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kevev
            wrote on last edited by
            #5

            Ubuntu 12.04 LTS

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              The only thing I see is that you are trying to open the .pro.user file. Typically you have a file "MyProjectName.pro" which is the project file. When opened Qt creator creates aside a "MyProjectName.pro.user". This file contain some settings. This happened a number of times to me when opening a project on windows. There the last extension is cut off. So in the menu you see a file named "MyProjectName" and a file "MyProjectName.pro". However, AFAIK you do not have this confusing problem on Ubuntu. Anyway, you can limited the files displayed with the filter setting in the combobox on the right. Use "Qt Project file (*.pro)". Now only project files are shown.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kevev
                wrote on last edited by
                #7

                I don't have the Use "Qt Project file(*.pro) option.

                This has been very bizarre. Its like Qt Creator has alzheimer's and doesn't know who it is anymore.

                BTW, I also tried installing 2.8 and had the same issue. Should I have a certain version of Qt installed too?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Hi,

                  It depends on how you installed Qt. Go to Preferences -> Build & Run -> Qt Versions. You'll see there what version is detected. If none, just add yours then make a Kit with it

                  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
                  • K Offline
                    K Offline
                    kevev
                    wrote on last edited by
                    #9

                    I get a Qmake not executable error

                    1 Reply Last reply
                    0

                    • Login

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