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. Qt 5.2.0: no qmake for LInux dev ?
Forum Updated to NodeBB v4.3 + New Features

Qt 5.2.0: no qmake for LInux dev ?

Scheduled Pinned Locked Moved Installation and Deployment
12 Posts 2 Posters 4.4k 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.
  • A Offline
    A Offline
    AM577
    wrote on last edited by
    #3

    If I type 'qmake' in the terminal window its says 'command not found'.
    If I search I find '/opt/Qt/5.2.0/android_armv5/bin/qmake' which gives Android-related warnings when I try it.
    On the installer window I selected 'Qt 5.2.0' and 'Tools'.
    Would I have got a different result if I had selected 'Qt 5.0.2' or '5.1.0' ?
    Obvs I could read the release notes, but some quick guidance would help !
    Am577

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      That's normal, the installer won't alter your system settings, so you have to use the full path to qmake if you want to use it or update your .profile/.bashrc to add your newly installed qmake path to PATH.

      What did you exactly select before installing ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AM577
        wrote on last edited by
        #5

        I selected 'Qt 5.2.0' and 'Tools' from the options in the Installer.
        I'm still surprised at the fact that 'qmake' gives Android-related warning
        messages. It certainly seems that I've got a Qt development system
        oriented to Android cross-development, rather than development for
        my Debian system. Viz the location of the 'qmake' that I am running, which
        seems to be the only one installed.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #6

          What does "find /path_to_Qt_install_folder -name qmake" return ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AM577
            wrote on last edited by
            #7

            '/path_to_Qt_install_folder': No such file or directory

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #8

              "path_to_Qt_install_folder" means: replace this text by the path to your actual Qt install folder

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • A Offline
                A Offline
                AM577
                wrote on last edited by
                #9

                I thought it might !

                /opt/Qt/5.2.0/android_x86/bin/qmake
                /opt/Qt/5.2.0/android_armv7/bin/qmake
                /opt/Qt/5.2.0/gcc/bin/qmake
                /opt/Qt/5.2.0/gcc/doc/qmake
                /opt/Qt/5.2.0/gcc/examples/qmake
                /opt/Qt/5.2.0/android_armv5/bin/qmake
                /opt/Qt/Tools/QtCreator/share/qtcreator/templates/wizards/plaincppapp/qmake
                /opt/Qt/Tools/QtCreator/share/qtcreator/templates/wizards/plaincapp/qmake

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  /opt/Qt/5.2.0/gcc/bin/qmake is the one to use for host development

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AM577
                    wrote on last edited by
                    #11

                    OK, Thanks. What's the recommended way to configure this e.g. just add it to my PATH ? Or should I export a QT setting ?
                    Thanks for the help, BTW.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      If you are using Qt Creator it should already been configured, if not, just add that version of Qt in the preferences and make a Kit with it.
                      If you want to run it from the command line, I would recommend using the full path, so you're always sure of which version of qmake you are using (you could also have the system qt dev tools installed)

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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