Qt Quick 1.1 under Qt Creator 3.1



  • I installed a fresh system (Ubuntu 14.04, Qt Creator 3.1) and getting ready to write QtQuick 1.1 Qt 4.8 app for my embeded linux device. I created a standard Hello World project in Qt Creator. Compiles fine for Qt 5.2_Deskotop (obvioulsy), but when I switch the kit to the embedded device which uses Qt 4.8.4 I get the following error:

    @/home/martin/Qt/projects/helloworld/qtquick1applicationviewer/qtquick1applicationviewer.h:15: error: QtDeclarative/QDeclarativeView: No such file or directory@

    I do have QT += declarative in my .pro file.
    @# Additional import path used to resolve QML modules in Creator's code model
    QML_IMPORT_PATH =

    The .cpp file which was generated for your project. Feel free to hack it.

    SOURCES += main.cpp
    TEMPLATE += app
    QT += declarative

    RESOURCES += qml.qrc

    Installation path

    target.path =

    Please do not modify the following two lines. Required for deployment.

    include(qtquick1applicationviewer/qtquick1applicationviewer.pri)

    Default rules for deployment.

    include(deployment.pri)@

    Any suggestions will be greatly appreciated. Thx!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.