Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Is it possible to compile/run a QML/C++ program from QtCreator (without using terminal)
Forum Update on Monday, May 27th 2025

Is it possible to compile/run a QML/C++ program from QtCreator (without using terminal)

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 2 Posters 1.4k 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.
  • B Offline
    B Offline
    Bidochon
    wrote on 21 Feb 2014, 19:44 last edited by
    #1

    Still working on the gettingStartedQml example. I found the way to compile the C++ filedialog from the command line and run the program using qmlscene, again from the terminal. Is it possible to do all of this using only QtCreator ?

    I tried to compile the C++ using command line and launch the qml using QtCreator but without success. It keeps telling me that the c++ libraries can not be found.

    Thanks for any help

    Bidochon

    ps: here is the gettingStartedQml tutorial page (http://qt-project.org/doc/qt-5/gettingstartedqml.html#defining-a-button-and-a-menu)

    I'm a mac user (10.8.5) using Qt 5.2.1 (Qt Creator 3.0.1)

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JKSH
      Moderators
      wrote on 22 Feb 2014, 03:17 last edited by
      #2

      Hi,

      In Qt Creator, select:

      File -> new File or Project... -> Applications -> Qt Quick Application -> Qt Quick 2.0

      This will generate the C++ code for you to run your QML app in Qt Creator.

      By the way, that tutorial is badly-written, and you will encounter name clashes later (e.g. see http://qt-project.org/forums/viewthread/38594/ ). I recommend this one instead: http://qt-project.org/doc/qt-5/qml-tutorial.html

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Bidochon
        wrote on 23 Feb 2014, 00:22 last edited by
        #3

        Excellent. Thanks. Will read/learn this one.

        1 Reply Last reply
        0

        1/3

        21 Feb 2014, 19:44

        • Login

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