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. Problems with compiling in Ubuntu.
QtWS25 Last Chance

Problems with compiling in Ubuntu.

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 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.
  • R Offline
    R Offline
    Rais Husainov
    wrote on last edited by
    #1

    Hello, ledies & gentlemen. My software kit is: Ubuntu 13.04., QT5.1.0.beta. Problems with gcc correct startig up (in Ubuntu the newest version gcc 4.7 is installed). In menu Tools/Options/Bild and Run/Compilers in Auto detected sub-menu there is no any compiler and there is not possibility to define it, only at next submenu /Manual is defined Gcc & Compiler path: /usr/bin/gcc . And as a result after trying to compile usual console c++ application “Hello World” we see the message: g++: Command not found. (absolutely the same result in QT5.0.2 version. (In Windows XP in auto detected sub menu is defined MinGw and no problems with compiling and building not only console applications and Qt app-s too). Thanks for your attention and sorry if something out of range of forum rules from my side, I am the newest here.
    Best regards, Rais Husainov, Minsk.

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

      You need to install g++. Qt does not magically setup your whole environment.

      There are many ways to install Qt dependencies in Debian/ Ubuntu. For a start, try this:
      @
      sudo apt-get install build-essential
      @

      (Z(:^

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rais Husainov
        wrote on last edited by
        #3

        Thank you very much for your very important helping me. Now the problem is solved.

        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