Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to install qt libraries in qt 4.8.1
Qt 6.11 is out! See what's new in the release blog

How to install qt libraries in qt 4.8.1

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 4 Posters 7.2k 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.
  • K Offline
    K Offline
    Kami7jun
    wrote on last edited by
    #1

    Hi,
    I installed Qt SDK 4.8.1 on my linux mint 13 KDE. The installation went very well but when I try to run a project in qt and write qmake <projectname.pro> on the command line it keeps saying that qmake is not installed. so I downloaded the qt libraries from the website and now I don't know how to install these libraries in my qt. can you please help me with this?
    thanks

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fredQt
      wrote on last edited by
      #2

      Hi,

      you only need to install the SDK from http://qt.nokia.com/downloads

      for x86 (764 MB) or x64 (767 MB)

      and then you have the QtCreator or qmake working.

      may be do you need the build-essential?.

      Fred

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Kami7jun
        wrote on last edited by
        #3

        no what is it?

        1 Reply Last reply
        0
        • T Offline
          T Offline
          twsimpson
          wrote on last edited by
          #4

          You need to make sure that qmake (and the other Qt tools) are in your $PATH or use the absolute path to qmake. For example, if you have Qt in /usr/local/qt, then you may have /usr/local/qt/bin/qmake

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fredQt
            wrote on last edited by
            #5

            read that

            https://help.ubuntu.com/community/CompilingEasyHowTo

            may be you install the Qt as root?, and the user can not see the qmake?...

            Fred

            1 Reply Last reply
            0
            • F Offline
              F Offline
              fredQt
              wrote on last edited by
              #6

              Hi Terence, when I install the Qt no path I need to set. But you are right, may be the path is not set.

              Fred

              1 Reply Last reply
              0
              • T Offline
                T Offline
                twsimpson
                wrote on last edited by
                #7

                You can check what's in your $PATH by typing "echo $PATH"
                in your shell, and you can modify it temporarily by typing PATH="$PATH:/usr/local/qt/bin"
                Or permanently by adding something similar to this in your ~/.profile
                @
                if [ -d /usr/loca/qt/bin ]; then
                PATH="$PATH:/usr/loca/qt/bin"
                fi
                @

                Which tests if /usr/local/qt/bin exists, and if it does then adds it to the end of the PATH variable.
                (Obviously changing "/usr/local/qt" to where the Qt SDK is installed.)

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #8

                  Why don't you check your distribution for the Qt development package? That one should contain qmake pre-built for the Qt library used in your system.

                  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 Extensions
                  • Unsolved