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. Compiling Qt code on Ubuntu 10.04

Compiling Qt code on Ubuntu 10.04

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 5.0k 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.
  • H Offline
    H Offline
    hesperus
    wrote on last edited by
    #1

    hello,

    I have a piece of code that was created and successfully compiled using Qt on Windows 7, I've been trying to compile the very same code on my Ubuntu 10.04 distribution, unfortunately I keep getting the following error:
    "Error while building project untitled (target: Desktop) When executing build step 'qmake' ".

    I have been told that I need to set the environment variables and qmake through the Qt command line, but I'm sort of lost on how to do that, can someone refer me any online tutorial or anything like that ? maybe the Linux command set that I need to execute ? I've tried looking at the Qt website but I couldn't find anything related to this... I don't remember having to do such a thing when I first installed Qt on Windows.

    Thanks for the help, much appreciated.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      have a look at the "Installation guide":http://developer.qt.nokia.com/doc/qt-4.7/install-x11.html

      And here is "ubuntu specific information":https://help.ubuntu.com/community/EnvironmentVariables.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #3

        How did you instal Qt on your ubuntu?
        The easiest way is to use your package manager and look for qt sdk. Normally all paths will be set that way.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        0
        • L Offline
          L Offline
          luca
          wrote on last edited by
          #4

          In my Slackware 13.37 :
          @
          ./configure
          make
          make install
          @

          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