Search code examples
qtqmlcross-compilingtoolchain

Unknown module(s) in QT: qml quick?


I am trying to deploy a QT application into a iOS device,

Step1 : I downloaded the qtbase source code from the git hub https://github.com/qtproject/qtbase.git

Step2 : After the qtbase was downloaded i just went inside the folder qtbase and ran a command (am using mac mini-osx 10.10.4 yosemite)

./configure -xplatform macx-ios-clang -release

Step3 : then am running

make

and

make install

Step4 : The libraries are successfully built in /usr/local/QT 5.6/lib

Step5 : Now an creating a QT quick application and mentioning the clang-iphone kit.

Step6 : Now if I try to build ,it saying , ERROR: Unknown module(s) in QT: qml quick

Any help would be appreciated...


Solution

  • Try to install qtdeclarative5-dev package:

    sudo apt install qtdeclarative5-dev
    

    This worked for me