Results 1 to 11 of 11

Thread: Cross compiling QT3 on Linux, for win32

Hybrid View

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

    Default Re: Cross compiling QT3 on Linux, for win32

    For Qt3 there is no solution. Qt3 Open Source can't be compiled on Windows! You need dedicated commercial version sources for that.

  2. #2
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cross compiling QT3 on Linux, for win32

    Quote Originally Posted by wysota
    Qt3 Open Source can't be compiled on Windows! You need dedicated commercial version sources for that.
    Well, these Qt3 sources compiled cleanly under Win32, using mingw-g++. Of course, that doesn't solve the initial problem of having to boot into windows, but it does mean that the same QT3/c++ code can (nearly) be compiled to run on both platforms without too many difficulties.

    Regards,

    mjrich.

  3. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cross compiling QT3 on Linux, for win32

    Quote Originally Posted by mjrich
    Well, these Qt3 sources compiled cleanly under Win32, using mingw-g++. Of course, that doesn't solve the initial problem of having to boot into windows, but it does mean that the same QT3/c++ code can (nearly) be compiled to run on both platforms without too many difficulties.

    Regards,

    mjrich.
    But keep in mind that this code isn't from Trolltech. Also there are some bugs which won't be fixed anymore now that Qt4/gpl is out.
    But it is (or better: was) possible to cross-compile those sources on linux for win32. It was broken some time ago and nobody fixed it because of a lack of interest.

  4. #4
    Join Date
    Feb 2006
    Location
    New Zealand
    Posts
    5
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Cross compiling QT3 on Linux, for win32

    Quote Originally Posted by ChristianEhrlicher
    But keep in mind that this code isn't from Trolltech.
    The beauty of open source
    But it is (or better: was) possible to cross-compile those sources on linux for win32. It was broken some time ago and nobody fixed it because of a lack of interest.
    Now this is certainly interesting, and something I hadn't realised. Thank you Christian -- I will look at the code again if I have time, and see whether it can be resurrected.

    Regards,

    mjrich.

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

    Default Re: Cross compiling QT3 on Linux, for win32

    Quote Originally Posted by mjrich
    Well, these Qt3 sources compiled cleanly under Win32, using mingw-g++. Of course, that doesn't solve the initial problem of having to boot into windows, but it does mean that the same QT3/c++ code can (nearly) be compiled to run on both platforms without too many difficulties.
    Wrong. This code is a port from Qt3 Unix/Free to Windows. It required heavy work to become compilable and usable and doesn't work exactly as the "original" Windows version. It's not just taken from Trolltech and compiled.

Similar Threads

  1. Compiling Problem qt/embedded 4.4.1 linux scratchbox arm
    By hw in forum Installation and Deployment
    Replies: 0
    Last Post: 11th September 2008, 19:25
  2. Cross compiling setup for all platforms
    By oc2k1 in forum Installation and Deployment
    Replies: 0
    Last Post: 5th February 2008, 13:42
  3. Compiling Linux project on Mac
    By December in forum Newbie
    Replies: 2
    Last Post: 25th March 2007, 04:25
  4. Replies: 1
    Last Post: 19th January 2007, 11:27

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.