Is it possible to compile/run a QML/C++ program from QtCreator (without using terminal)
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
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)
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
Excellent. Thanks. Will read/learn this one.