Terminal Compile Error

  • I'm trying to compile a simple Hello World app in the terminal and keep getting this error:

    qrc:/main.qml:1 module "QtQuick" version 2.5 is not installed

    Any thoughts on how to correct this? Running Ubuntu 14.04 LTS

    Edit: The program is exactly what Qt Creator loads when you create a new Qt Quick Application. It compiles fine in the IDE.

  • HI BrothaSam,

    Use qmake to compile the .qml file.
    Use makefile generated by IDE to compile and try to read makefile for perfect solution.

  • I used qmake to compile and then tried make to run the executable and that's when it gave me the error.

  • Try using makefile generated by IDE.
    It may help to find the issue.

  • Got it! Thanks yuvaram. Ran the builder in IDE and it created a new folder with an executable of my program in it.

Log in to reply

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