Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Terminal Compile Error
Qt 6.12 LTS is out! See what's new in the release blog

Terminal Compile Error

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 827 Views 1 Watching
  • 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.
  • BrothaSamB Offline
    BrothaSamB Offline
    BrothaSam
    wrote on last edited by BrothaSam
    #1

    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.

    1 Reply Last reply
    0
    • yuvaramY Offline
      yuvaramY Offline
      yuvaram
      wrote on last edited by
      #2

      HI BrothaSam,

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

      Yuvaram Aligeti
      Embedded Qt Developer
      : )

      1 Reply Last reply
      0
      • BrothaSamB Offline
        BrothaSamB Offline
        BrothaSam
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • yuvaramY Offline
          yuvaramY Offline
          yuvaram
          wrote on last edited by
          #4

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

          Yuvaram Aligeti
          Embedded Qt Developer
          : )

          1 Reply Last reply
          0
          • BrothaSamB Offline
            BrothaSamB Offline
            BrothaSam
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt
            • Unsolved