Results 1 to 4 of 4

Thread: Install a C++ compiler

  1. #1
    Join Date
    Mar 2009
    Location
    California, USA
    Posts
    31
    Thanks
    2
    Thanked 7 Times in 6 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Install a C++ compiler

    I have installed the most recent version of QtSDK into my user/chisum/qtsdk on a PCLOS Linux machine. All went fine but it gave me a message about needing to use the "you need a compiler" message. So where is the Software Package Management tools.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Install a C++ compiler

    You need to install a compiler from your Linux distribution, preferably GCC (or actually G++).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Mar 2009
    Location
    California, USA
    Posts
    31
    Thanks
    2
    Thanked 7 Times in 6 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Install a C++ compiler

    Hi wysota. Been a couple of years. I have been working in Java hell. Now back to Qt. Actually, it has the latest GCC installed. But my install of Qt lives in user/chisum/ and cannot seem to see the compiler outside of user space. Because I have an older computer that has a S3 graphic processor that x.org no longer supports, I am doing this a little on the outlaw from my distro. And the Qt offering from the PCLOS groups is really bad. It only includes Qt Creator 2.1 with only the one help file for Creator included. Useless and out of date.

    The computer a HP does not have a PCI Express slot, so I cannot find a graphics card to use.

    gary

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Install a C++ compiler

    The location of the Qt install is not relevant to whether the compiler is usable or not. Open a terminal as your user. Type "gcc -v" or "g++ -v" and report what happens. I expect something like "Command not found" and that you need to ensure that the compiler is in your PATH.

    Qt Creator 2.1 is hardly useless and not far "out of date". You need to tell Qt Creator where it can find the Qt install(s) on your machine, especially if qmake is not in the system PATH.

Similar Threads

  1. Replies: 8
    Last Post: 19th October 2012, 23:14
  2. Qt Creator Parse compiler errors of a non gcc compiler
    By kiozen in forum Qt Tools
    Replies: 4
    Last Post: 4th July 2011, 01:34
  3. Replies: 6
    Last Post: 13th March 2011, 23:49
  4. msvc Compiler or mingw compiler
    By Ashutosh2k1 in forum Qt Programming
    Replies: 3
    Last Post: 14th February 2011, 08:33
  5. Strange compiler behaviour (compiler passes wrong argument)
    By SasaVilic in forum General Programming
    Replies: 2
    Last Post: 2nd November 2010, 11:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.