Results 1 to 7 of 7

Thread: Installing without using gcc

  1. #1
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Installing without using gcc

    I am trying to install Qt 4.1.3 using the Portland Group pgcc, pgCC compilers. I have the QMAKESPEC environment variable set to the correct linux-pgcc directory. I ran into a couple issues with using // in C code, so I have to modify the qmake.conf file to use the -B flag to allow for C++ style comments in C code. Into the linking step of one of the many makefiles I run into the error: undefined reference variable: q_atomic_test_and_set_int and q_atomic_test_and_set_ptr in function q_atomic_increment. I do not know what else would need to be included in the configuration since these are Qt variables. Anyone have any suggestions??

    Thanks!!

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

    Default Re: Installing without using gcc

    I think it'd be best if you contacted Trolltech helpdesk about it, as I doubt anyone else on this site uses the same compiler as you and the compiler looks like a supported one, so Trolls should be able to help you. Of course when they do, please come back here and share your knowledge with us

  3. #3
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installing without using gcc

    Unfortunatly, I was told today that my license expired last week, hence why they gave me the 4.1.3 updates to install. I do not have tech support from "the trolls" as of right now, and they couldnt tell me when they would be renewing. Awaiting new money to roll in I think. Anyone have an ideas on what I could try until renewal?

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

    Default Re: Installing without using gcc

    It could be possible that only qmake and not Qt supports pgcc... but you have to ask the Trolls for that, regardles of a non active support, because they are the only ones who can answer that question. Just send them an email asking about it, I'm almost sure you'll receive an answer.

  5. #5
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installing without using gcc

    Here is the response from Trolltech.
    "The Portland Group compilers are not supported by Trolltech for use with
    Qt. You might be able compile the libraries using gcc and then link
    against them using the PG compilers, but this requires the compilers to
    be binary compatible, and this is not something that we can
    legitimately assure you of.

    I would recommend that this question be posed to the members of the
    QtCenter.org forums, that recommended compiling Qt with the pgcc
    compilers.

    Good luck."

    I am now in an infinite loop, QtCenter tells me to ask Trolltech, who tells me to ask QtCenter...

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

    Default Re: Installing without using gcc

    It's not an infinite loop. The bottom line is -- you can't use pgcc with Qt. Period, end of story. qmake supports the compiler, but unfortunately Qt libraries don't. You might want to start convincing your bosses to switch to gcc

  7. #7
    Join Date
    Jan 2006
    Location
    Third rock from the sun
    Posts
    106
    Thanks
    17
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installing without using gcc

    I have started the begging...I mean convincing process!

Similar Threads

  1. gcc (linux) : ok ; g++ (windows) : fails
    By nouknouk in forum Qt Programming
    Replies: 1
    Last Post: 25th February 2006, 04:08
  2. Need help installing.
    By Morea in forum Qt Programming
    Replies: 7
    Last Post: 22nd February 2006, 12:53
  3. Installing Qt 4.1 (open source) on Windows XP
    By katrina in forum Installation and Deployment
    Replies: 8
    Last Post: 19th February 2006, 13:26
  4. Installing QT4.1
    By impeteperry in forum Installation and Deployment
    Replies: 1
    Last Post: 2nd February 2006, 20:56
  5. Installing QT4.1
    By mysearch05 in forum Installation and Deployment
    Replies: 1
    Last Post: 30th January 2006, 13:02

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.