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. How to import/convert a Qt-qmake project into Qt Creator?
Forum Updated to NodeBB v4.3 + New Features

How to import/convert a Qt-qmake project into Qt Creator?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 2 Posters 787 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.
  • F Offline
    F Offline
    fsfarimani
    wrote on last edited by
    #1

    Following this question, I am trying to import/convert an existing Qt-qmake project into Qt Creator. However, I have similar issues as this question. Basically everything is deactivated:

    Screenshot 2020-04-26 at 15.18.07.png

    I can't compile or run anything!

    I would appreciate if you could help me know that what is the most canonical way to import/convert a Qt-qmake project into Qt Creator?

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

      Hi,

      Looks like your Kit have errors.

      What version of Qt did you install ?
      How did you instal it ?
      What OS are you on ? What version is it ?
      What compiler are you using ?
      Since I see darwin here, I would guess macOS. If so, did you install Xcode ?

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

      F 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Looks like your Kit have errors.

        What version of Qt did you install ?
        How did you instal it ?
        What OS are you on ? What version is it ?
        What compiler are you using ?
        Since I see darwin here, I would guess macOS. If so, did you install Xcode ?

        F Offline
        F Offline
        fsfarimani
        wrote on last edited by fsfarimani
        #3

        Dear @SGaist ,

        What version of Qt did you install ? How did you instal it ?

        My Qt installation is somewhat messy at the moment. I was trying to install it via HomeBrew as described here. But it didn't work so I downloaded Qt Creator from the Qt company official website and installation. However, I had issues with that too.

        Right now:

        qmake --version
        QMake version 2.01a
        Using Qt version 4.8.7 in /usr/local/lib
        

        and

        which qmake
        /usr/local/bin/qmake
        

        In the terminal. But the Qt Creator Version 4.12.2 is installed in /Users/<user>/Qt/.

        The qmake used to compile the above project though is in /System/Volumes/Data/usr/local/Cellar/qt/5.14.1/bin/qmake and it is

        QMake version 3.1
        Using Qt version 5.14.1
        

        What OS are you on ? What version is it ?

        • macOS Catalina Version 10.15.4

        What compiler are you using ?

        I have Xcode command-line tools, GNU C/C++, and LLVM/Clang installed. But I think the default Xcode/Clang is being deployed.

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

          So it means that at some point you installed Qt 4 in your system.

          As you can see there's a red sign on your kit, go to the settings page and put the mouse cursor on it. You'll have more information about what is wrong.

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

          F 1 Reply Last reply
          0
          • SGaistS SGaist

            So it means that at some point you installed Qt 4 in your system.

            As you can see there's a red sign on your kit, go to the settings page and put the mouse cursor on it. You'll have more information about what is wrong.

            F Offline
            F Offline
            fsfarimani
            wrote on last edited by
            #5

            @SGaist This is what I see when keeping mouse cursor on the kit:

            Screenshot 2020-04-26 at 16.06.56.png

            is the

            No Qt version set in kit

            the problem? How do I solve it?

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

              Well, as silly as it may sound: select the Qt 5 installation you have from brew. If you don't have it, go to the Qt versions tab and set it up there. Then come back to the kit page and chose it there.

              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
              1

              • Login

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