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. Using .pro-files with non-Qt applications in QtCreator
QtWS25 Last Chance

Using .pro-files with non-Qt applications in QtCreator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
qmakeqt creatornon-qt
5 Posts 2 Posters 1.6k 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.
  • G Offline
    G Offline
    G-Virus
    wrote on last edited by
    #1

    Hello everyone! Could you help me to solve my problem - I would like to use QtCreator for my ARM development without Qt. I have the toolchain, but I need to set qmake in Qt versions tab in the settings. I have downloaded Qt Sources and configured qmake in qtbase directory to use with toolchain (Sysroot and device keys). But when I'm trying to add qmake to Qt list in QtCreator's settings it says “invalid Qt version”, but I don't need Qt I just need qmake to use pro-files. Could you explain me how can I do this?

    Thanks in advance

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

      Hi and welcome to devnet,

      Did you properly installed Qt after building it ?

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

      G 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Did you properly installed Qt after building it ?

        G Offline
        G Offline
        G-Virus
        wrote on last edited by
        #3

        @SGaist Thank you! :)

        Nope, I didn't. I thought if I just copy qmake file and mkspecs directory to another directory and use this qmake as Qt version, it will solve my problem, but I guess I'm wrong :( I just don't need Qt for ARM but I need only qmake that can generate Makefiles from profiles

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

          In that case build only the qtbase module however you still need to install it. You can't just copy parts of Qt around.

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

          G 1 Reply Last reply
          1
          • SGaistS SGaist

            In that case build only the qtbase module however you still need to install it. You can't just copy parts of Qt around.

            G Offline
            G Offline
            G-Virus
            wrote on last edited by
            #5

            @SGaist yes, you were right! Qmake is saving absolute path internally, I think. So I moved all necessary files to required directory and everything is working, thank you!

            I'll post a screenshot with minimum necessary files and directories that needed to successful qmake's work without Qt.
            0_1506369827244_Screenshot_20170925_230317.png

            It requires an empty include directory! If you delete it QtCreator will not show your non-Qt Kit in the startup list of Kits for a new project!

            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