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. Configuring executable for a (qml)project in Qt Creator 2.6 without Qt libraries installed
Forum Updated to NodeBB v4.3 + New Features

Configuring executable for a (qml)project in Qt Creator 2.6 without Qt libraries installed

Scheduled Pinned Locked Moved Qt Creator and other tools
4 Posts 2 Posters 2.3k 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.
  • E Offline
    E Offline
    eliseev
    wrote on last edited by
    #1

    Hello,

    Is there way to configure a project in Qt Creator without Qt libraries or a compiler installed? Right now it demands a valid kit.

    I have a case where I'd like designers to work on QML only. They do not need to compile anything, thus requiring Qt libs and compiler installation looks an overkill.

    It is possible to edit QML files in the editor of course, but not possible to assign an executable to run thus Ctrl+R isn't working. Running it from Tools is awkward.

    Any suggestions?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eliseev
      wrote on last edited by
      #2

      Well, I solved the problem by extracting QML part into .qmlproject. Original question is still valid, but not important any more.

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        The answer is: It depends.

        A kit does not need to have a Qt version set up. So no problem there. But if you want to work on a qmake-based project, then you need to point creator to the qmake executable it is supposed to use. The only way to do so is to set up a Qt version using that qmake and assigning it to a kit... CMake, autotools and generic projects will work fine.

        A "valid Qt installation" from the Qt Creator point of view will require the qmake binary, the mkspecs that qmake uses as well as the QtCore library. Everything else should not be necessary IIRC.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          eliseev
          wrote on last edited by
          #4

          Tobias, thank you for reply.
          However I found out today that my "solution" via qmlproject doesn't work either (had to test it better).

          "Screenshot of Qt Creator's qmlproject configuration without kit":https://www.dropbox.com/s/qxc9bfh39x4bfx6/QtCreator_without_kit.png

          qmlproject does not need qmake; it uses custom executable, which cannot be configured unless there is a qmake. I find it a logical bug. Deploy and run configurations must be allowed even if no valid kits are present.

          As you can see from screenshot, there's no menu under "Add" button, which is there, if a kit is configured properly.

          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