Results 1 to 2 of 2

Thread: Qt compilation errors

  1. #1
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Red face Qt compilation errors

    I have been creating a plotting library on a solaris system running Qt 4.1.4. I have been working on integration to 4.2.1, but have been sidetracked by other tasks. One of these tasks was to take my library to another network and get it running on a Linux machine also running Qt 4.1.4. When I try to compile I get errors saying qgl.h tries to use GL_RGBA8 but the compiler does not know what this is. I have upgraded my OpenGL version and have version 2.0.2 and should need as minimal as version 1.2. However, I also have Qt 4.2.1 installed on the Linux machine and I decided to try and compile using Qt 4.2.1 even though I don't know if things will all run correctly. To my surprise using Qt 4.2.1 I was able to compile my library just fine. If I change the path of my Qt installation to 4.1.4, I cannot compile again. But switching the path to 4.2.1 I am again able to compile. I was able to compile using 4.1.4 on the Solaris machines on my other network. Does anyone know why I can compile on Solaris with 4.1.4 but I cannot on Linux with 4.1.4 when it has proper OpenGL versions. And why can 4.2.1 compile correctly? Thanks once again for your help!

  2. #2
    Join Date
    Jan 2006
    Location
    Ohio
    Posts
    332
    Thanks
    37
    Thanked 8 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt compilation errors

    I had a variable declared in my .cshrc file and this was pointing to Qt 4.1.4 while I was trying to build using QT 4.2.1. By updating my .cshrc file I was able to successfully build my library. Thanks anyways!

Similar Threads

  1. Qt Compile Errors?
    By magikalpnoi in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2006, 22:18
  2. Errors including shellapi.h
    By SkripT in forum Qt Programming
    Replies: 8
    Last Post: 1st May 2006, 18:13
  3. Linker Errors
    By MarkoSan in forum Qt Programming
    Replies: 5
    Last Post: 7th March 2006, 18:30
  4. Compilation failed ... I don't know why :(
    By yellowmat in forum Newbie
    Replies: 3
    Last Post: 27th January 2006, 09:48
  5. Qt 4.1.0 - static examples run with errors!
    By Elder Orb in forum Qt Programming
    Replies: 1
    Last Post: 12th January 2006, 09:40

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.