Results 1 to 19 of 19

Thread: Compile 4.4.0

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: Compile 4.4.0

    As I said - it looks like it's currently not possible with plain headers from MinGW. We used the headers from Wine to get the ds9 backend compile with kde4 on windows.

  2. #2
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compile 4.4.0

    Dear Christian,

    could you explain in very short steps how do you make it possible to compile it. What are you copy to what folder or what are you subtitute with what......


    best regars

  3. #3
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compile 4.4.0

    Dear Christian,
    I follow your explanation. I add #include <windows.h> in dshow.h. and I configure it with the argument
    Qt Code:
    1. configure.exe -debug-and-release -platform win32-g++ -qt-sql-odbc -qt-sql-sqlite -qt-gif -qt-libpng -qt-libtiff -qt-libmng -qt-libjpeg -no-qt3support -exceptions -stl -qt-zlib -phonon
    To copy to clipboard, switch view to plain text mode 

    and got the same error. Look at the attached file.

    I willl try it now without phonon. I´ll be back ;o))
    Attached Files Attached Files

  4. #4
    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: Compile 4.4.0

    1. Make a backup of your mingw include dir
    2. download and unpack http://winkde.org/pub/kde/ports/win3...-1-lib.tar.bz2
    3. copy over all files listed here: http://websvn.kde.org/trunk/kdesuppo...clude/directx/ to your mingw include dir
    4. go into qt4-src/src/phonon and restart compiling

  5. #5
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compile 4.4.0

    Dear Christian,

    thanx to your steps. I compile it again until the known error occures. Then I switch the include with my old mingw files to the downloaded and updated include folder in mingw.

    ;o((( It occurres an another error. I abandon the Compile adventures to get a full compiles qt 4.4.0 LIB. It´s terrible really terrible.

    P.S.: But Christian Danke vielmals.........
    Attached Files Attached Files

  6. #6
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compile 4.4.0

    So I compile this time without Phonon and I get new errors ;o((
    Attached Files Attached Files

  7. #7
    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: Compile 4.4.0

    Also disable webkit if you don't need it.
    Where do you have tchar.h from? From my source or is it original mingw? It's really strange that you get such an error inside an mingw header.

    I'll try to compile qt/mingw without our kdewin32-headers and report all bugs to tt so they get fixed in 4.4.1
    For now you could also try 4.3.5 which doesn't contain all the new stuff like phonon or webkit and should compile better.

  8. #8
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compile 4.4.0

    Hello I will try it without webkit.

    The Header you mentioned ist the original from mingw installed with the 5.1.4 installer.

    Am I the only one who have this problem????

  9. #9
    Join Date
    May 2007
    Location
    Germany
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Compile 4.4.0

    Hello Christian,

    just for your information:
    I have compile qt 435 from src with the parameters
    Qt Code:
    1. configure.exe -debug-and-release -platform win32-g++ -qt-sql-odbc -qt-sql-sqlite -qt-gif -qt-libpng -qt-libtiff -qt-libmng -qt-libjpeg -no-qt3support -exceptions -stl -qt-zlib
    To copy to clipboard, switch view to plain text mode 
    without any error

Similar Threads

  1. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  2. Use VC2005 to compile Qt program (4.3.0)
    By firegun9 in forum Qt Programming
    Replies: 3
    Last Post: 8th June 2007, 16:04
  3. Qt-4.2.2 qmake won't compile under visual studio 2005 on vista
    By moowy in forum Installation and Deployment
    Replies: 7
    Last Post: 13th January 2007, 21:06
  4. Compile Errors
    By luffy27 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 05:26
  5. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 19:15

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.