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
Forum Updated to NodeBB v4.3 + New Features

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.7k 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.
  • G Offline
    G Offline
    G-Virus
    wrote on 23 Sept 2017, 13:43 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 Sept 2017, 20:23 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 23 Sept 2017, 20:35
      0
      • S SGaist
        23 Sept 2017, 20:23

        Hi and welcome to devnet,

        Did you properly installed Qt after building it ?

        G Offline
        G Offline
        G-Virus
        wrote on 23 Sept 2017, 20:35 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 Sept 2017, 21:42 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 25 Sept 2017, 20:06
          1
          • S SGaist
            23 Sept 2017, 21:42

            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 25 Sept 2017, 20:06 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

            1/5

            23 Sept 2017, 13:43

            • Login

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