Results 1 to 7 of 7

Thread: install QT as 32 bit

  1. #1
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default install QT as 32 bit

    Hi

    Is there a way to force QT to install as 32bit on a machine which supports both 32 and 64 bit? The reason I am asking this is, I am trying to install QT on IBM Cell Processor with Mesa3D gallium OpenGL drivers support. The opengl drivers are installed as 32bit, so the installation process for QT skips those drivers and looks for 64 bit drivers. I believe if I can somehow force QT to install as 32 bit rather than in 64 bit, my problem will be solved.


    Thanks

    Saad

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

    Default Re: install QT as 32 bit

    How are you installing Qt?
    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
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: install QT as 32 bit

    Hey I am configuring it using the following options

    ./configure -release -prefix /usr/local/Trolltech/qt -fast -no-qt3support -L/home/user/mesa/lib/gallium -opengl desktop -nomake examples -nomake demos -nomake tools

    During configure , Qt determines that this is a power pc and adds -m64 flag to all the g++ commands in makefiles. But my opengl drivers are compiled as 32 bit hence while doing gmake (after configure) it skips that particular libGL.so file by expressing that is incompatible.

    Thanks for your reply .

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

    Default Re: install QT as 32 bit

    Use the -platform switch with appropriate option (i.e. linux-g++-32) to build Qt for specific architecture.
    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.


  5. #5
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: install QT as 32 bit

    Thanks man if that works I will sending loads of chocolates your way

  6. #6
    Join Date
    Jun 2009
    Posts
    11
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: install QT as 32 bit

    Hey that seemed to work but when after configure i ran gmake I got this error

    "cc1plus: out of memory allocating xxxxx bytes "

    so instead of release flag in configure I tried with debug and got this error during gmake.
    "
    {standard input}: Assembler messages:
    {standard input}:106827: Warning: end of file not at end of a line; newline inse rted
    {standard input}:107859: Error: expected comma after name `_ZN3WTF6' in .size di rective
    g++: Internal error: Killed (program cc1plus)
    Please submit a full bug report.
    See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
    gmake[1]: *** [obj/debug/Document.o] Error 1
    gmake[1]: Leaving directory `/home/saad/qt-everywhere-opensource-src-4.6.0/src/3 rdparty/webkit/WebCore'
    gmake: *** [sub-webkit-make_default-ordered] Error 2
    "


    any clues?

    Thanks again

    PS: Currently hardly any ram is free on this machine and no swap has been defined, maybe that could be causing the memory issue.

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

    Default Re: install QT as 32 bit

    You may indeed be having RAM issues.
    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.


Similar Threads

  1. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 04:03
  2. Replies: 0
    Last Post: 14th May 2009, 11:31
  3. qwt 5.2 install on qt 4.5
    By HyperB in forum Qwt
    Replies: 4
    Last Post: 13th May 2009, 20:03
  4. Mac OS install qwt libraries
    By d-l-sama@hotmail.com in forum Qwt
    Replies: 0
    Last Post: 30th April 2009, 14:53
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

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.