Results 1 to 7 of 7

Thread: Qt 4.1.2 Fails to build on Linux

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2006
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt 4.1.2 Fails to build on Linux

    Yes, I agree patching is not good. Now yet another person on gentoo reported it compiles just fine with gcc 4.1 , though
    Qt Code:
    1. USE="cups gif jpeg opengl png zlib -accessibility -debug -doc -examples -fire bird -mng -mysql -nas -nis -odbc -postgres -sqlite -xinerama"
    To copy to clipboard, switch view to plain text mode 
    meaning that he disabled so much of qt4 !
    Any more brainstorms please ?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.1.2 Fails to build on Linux

    Quote Originally Posted by rohandhruva
    Now yet another person on gentoo reported it compiles just fine with gcc 4.1 , though
    Qt Code:
    1. USE="cups gif jpeg opengl png zlib -accessibility -debug -doc -examples -fire bird -mng -mysql -nas -nis -odbc -postgres -sqlite -xinerama"
    To copy to clipboard, switch view to plain text mode 
    meaning that he disabled so much of qt4 !
    The biggest difference is that the debug mode was disabled. AFAIR by default Qt is built in both debug and release mode. Did you try passing "-release" option to the configure utility?

    I found this line in the PKGBUILD file:
    sed -i "s|read acceptance|acceptance=yes|" configure
    Why don't you use "-confirm-license" instead?

  3. #3
    Join Date
    Apr 2006
    Posts
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Qt 4.1.2 Fails to build on Linux

    Ok, i will try passing only -release instead of enabling debug. Also, that PKGBUILD i provided is "shastry"'s now my own, so I am sorry I didnt read ./configure -help fully I will use accept-licence from now on !

    Will post my results ASAP, but it will take about 7 hours to compile, so please keep giving more suggestions !

    Rohan.

    Edit :
    1) What difference does enabling / disabling debug make ? I am very new to qt, and I wanted to start off from learning qt4, not qt3.

    2) Is 'libtool-slay' proper for qt4 ? i.e. delete all .la files found in the package.

    3) Is it recomended to change the official qt CFLAGS ? Since arch and frugalware define their own cflags. However you can see shastry has sed'ed a bit to get qt4 follow them. Is that problematic ?
    Last edited by rohandhruva; 16th April 2006 at 22:02. Reason: Some questions

Similar Threads

  1. Qt + Linux + Eclipse - debug using debug build?
    By will49 in forum Qt Programming
    Replies: 6
    Last Post: 13th April 2012, 06:27
  2. QWT fails in debug build
    By steg90 in forum Qwt
    Replies: 1
    Last Post: 11th November 2011, 06:53
  3. Release build fails to find some resource images
    By MrGarbage in forum Installation and Deployment
    Replies: 3
    Last Post: 8th December 2007, 16:04
  4. Qt 4.3 build fails Suse?linux
    By almost in forum Installation and Deployment
    Replies: 3
    Last Post: 19th July 2007, 21:23
  5. Build error on mac Platform::WaitMouseMoved
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2007, 13:18

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.