Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake command is not available

Qmake command is not available

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
6 Posts 4 Posters 1.3k Views
  • 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.
  • O Offline
    O Offline
    Onayaaa
    wrote on last edited by
    #1
    This post is deleted!
    eyllanescE 1 Reply Last reply
    0
    • O Onayaaa

      This post is deleted!

      eyllanescE Offline
      eyllanescE Offline
      eyllanesc
      wrote on last edited by
      #2

      @Onayaaa How did you install Qt?

      If you want me to help you develop some work then you can write to my email: e.yllanescucho@gmal.com.

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        @Onayaaa said in Qmake command is not available:

        sudo ./configure -prefix /opt/geopsy

        You need to run sudo make && sudo make install after that.

        /opt is not where system looks for libraries or binaries. Either install into standard system locations or add /opt/geopsy/bin to your PATH, like this:

        export PATH=/opt/geopsy/bin:$PATH
        

        you can put this line into ~/.bashrc so it will be always available.

        BTW. You can compile and install Qt as local user (without sudo) - it's easier this way.

        And if you don't need any special Qt build or patches, you can just install Qt from Ubuntu itself:

        sudo apt install qt5-qmake
        

        (Z(:^

        1 Reply Last reply
        0
        • O Offline
          O Offline
          Onayaaa
          wrote on last edited by
          #4

          with sudo apt-get install qt4-default or qt5-default

          1 Reply Last reply
          0
          • O Offline
            O Offline
            Onayaaa
            wrote on last edited by
            #5

            i use this code to install geopsy, but when i get into the sudo ./configure -prefix /opt/geopsy the result is always error

            Go to opt
            • $ cd /opt
            • $ sudo mkdir geopsy
            • Back to directory of the ANT software
            • extract the geopypack
            • $ tar xvpzf geopsypack-57items-src-2.4.0.tar.gz • $ ls
            • $ sudo ./configure -prefix /opt/geopsy
            • $ sudo make install
            • Back to home
            • $ cd
            • $ gedit .bashrc • ====================================
            • #GEOPSY
            • GEOPSY=/opt/geopsy/bin
            • export=GEOPSY
            • PATH="$PATH:$GEOPSY" • export GEOPSY
            • ====================================
            • $ source .bashrc • Final check • $ geopsy
            • $ dinver

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

              Hi,

              As already suggested by @sierdzio, stop using sudo until the point of installation. Doing build as root is risky. If something goes wrong you might nuke your system without even noticing before it's too late.

              Which exact error do you have now ?

              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
              1

              • Login

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