Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Qmake: could not find a Qt installation of ''

    General and Desktop
    2
    4
    9087
    Loading More Posts
    • 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.
    • B
      bloodviper9000 last edited by

      For a software I have in ubuntu, I have to run qmake to generate the Makefile.

      However, running qmake gives back this error,

      qmake: could not find a Qt installation of ''

      How to solve it

      1 Reply Last reply Reply Quote 0
      • A
        andreyc last edited by

        Looks like you calling qmake from wrong path.
        If you have installed Qt from Ubuntu repository then check that you calling correct version of qmake. I think qmake has different prefix for Qt4 and Qt5.
        If you trying to use Qt from qt-project.org then try to run qmake with full path
        @
        $HOME/Qt/5.3/gcc/bin/qmake
        @

        1 Reply Last reply Reply Quote 0
        • B
          bloodviper9000 last edited by

          I installed Qt 5 from the run online installer file .

          1 Reply Last reply Reply Quote 0
          • A
            andreyc last edited by

            Try to run qmake with full path from Qt installation.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post