Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Problems with compiling in Ubuntu.

    Installation and Deployment
    2
    3
    1107
    Loading More Posts
    • 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
      Rais Husainov last edited by

      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 Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        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 Reply Quote 0
        • R
          Rais Husainov last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post