Results 1 to 9 of 9

Thread: Did you try Qt 4.3 Opensource on WinXp ?

  1. #1
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Did you try Qt 4.3 Opensource on WinXp ?

    Hi,

    Has anyone tried to make debug version of the Qt libraries and encountered any problem ?
    We can't solve problems by using the same kind of thinking we used when we created them

  2. #2
    Join Date
    Jun 2007
    Posts
    3
    Thanked 1 Time in 1 Post
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    I've been trying to compile it now for a while using mingw and can't seem to get it working.

    runing configure.exe seems to work fine, but after running mingw32-make I get an error such as
    Makefile.Debug:116:*** multiple target patterns. Stop.

  3. #3
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    I wrote to trolltech regarding this,
    They acknowledge that this is a bug and has filed in tasktracker.


    now the work around as told by them is that

    After you install Qt.
    Open the Qt 4.3.0 console
    unset the lib environment variable by "set lib= "
    configure -debug_and_release
    make
    We can't solve problems by using the same kind of thinking we used when we created them

  4. #4
    Join Date
    Jun 2007
    Posts
    3
    Thanked 1 Time in 1 Post
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    The fix/workaround mentioned before in this thread doesn't work properly for me. I have just got a reply from Qt on how to fix the problem.

    Do the following:

    Open the Qt 4.3.0 console
    Unset the INCLUDE and LIB environment variables, i.e.
    "set lib = "
    "set include = "
    Do "del /s qconfig.h"
    configure -debug_and_release
    mingw32-make

    I've followed this procedure and it appears to compile okay.

    Regards,

  5. The following user says thank you to bongobonga for this useful post:

    xEsk (26th June 2007)

  6. #5

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    Which task tracker? I can't find it.
    Doing configure -debug-and-release -static -qt-sql-psql doesnt seem to work.
    Any other ideas?

  7. #6
    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: Did you try Qt 4.3 Opensource on WinXp ?

    Quote Originally Posted by traltixx View Post
    Which task tracker? I can't find it.
    http://www.trolltech.com/developer/task-tracker

  8. #7
    Join Date
    Jun 2007
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    Quote Originally Posted by bongobonga View Post
    The fix/workaround mentioned before in this thread doesn't work properly for me. I have just got a reply from Qt on how to fix the problem.

    Do the following:

    Open the Qt 4.3.0 console
    Unset the INCLUDE and LIB environment variables, i.e.
    "set lib = "
    "set include = "
    Do "del /s qconfig.h"
    configure -debug_and_release
    mingw32-make

    I've followed this procedure and it appears to compile okay.

    Regards,
    Hi

    I follow this procedure and I got error after apply this command "mingw32-make"

    Qt Code:
    1. in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
    2. In file included from ..\..\3rdparty\zlib\crc32.c:29:
    3. ..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
    4. ..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
    5. ..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
    6. ..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
    7. ..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
    8. mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
    9. mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
    10. mingw32-make[1]: *** [release] Error 2
    11. mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
    12. mingw32-make: *** [sub-rcc-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    Now I can build project in release mode but I cannot build it in debug mode
    I have Qt 4.3 installed on windows vista

    thanks

  9. #8
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    You can also write to support at trolltech dot com as the solution that worked for me did not work for bongobonga or for traltixx. I believe the compilation issues are quite different
    We can't solve problems by using the same kind of thinking we used when we created them

  10. #9
    Join Date
    Jun 2007
    Posts
    4
    Thanks
    1

    Default Re: Did you try Qt 4.3 Opensource on WinXp ?

    I had the same errors by installing Qt 4.3.3 on Vista 64.
    I found it's because MinGW was not installed correctly. There are some environment variables left behind:

    SET MINGW_DIR=C:\MinGW
    SET GCC_EXEC_PREFIX=%MINGW_DIR%
    SET PATH=%MINGW_DIR%\bin;%MINGW_DIR%\libexec\gcc\mingw 32\3.4.2;
    SET LIBRARY_PATH=%MINGW_DIR%\lib;%MINGW_DIR%\lib\gcc\m ingw32\3.4.2
    SET C_INCLUDE_PATH=%MINGW_DIR%\include;%MINGW_DIR%\lib \gcc\mingw32\3.4.2\include

    note: People said MinGW directory must be in the disk root, or it won't work. I didn't try to violate that. So I don't know if that's true or not.


    The bad news is after setting these environment variables, I had new errors. The good news is they could be easily fixed. The error message is like "Segmentation fault, please visit http://www.mingw.org/bugs.shtml to report bugs." So I just download MinGW 5.1.4 installer, and let it download and install MinGW. Then Qt is build fine. I succeed compiling tutorial 1 in both debug and release version.

    Quote Originally Posted by geo_saleh View Post
    Hi

    I follow this procedure and I got error after apply this command "mingw32-make"

    Qt Code:
    1. in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
    2. In file included from ..\..\3rdparty\zlib\crc32.c:29:
    3. ..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
    4. ..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
    5. ..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
    6. ..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
    7. ..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
    8. mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
    9. mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
    10. mingw32-make[1]: *** [release] Error 2
    11. mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
    12. mingw32-make: *** [sub-rcc-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    Now I can build project in release mode but I cannot build it in debug mode
    I have Qt 4.3 installed on windows vista

    thanks

Similar Threads

  1. Opensource Calendar Widget
    By donmorr in forum Qt Tools
    Replies: 5
    Last Post: 15th February 2012, 18:54
  2. Qt4 win opensource + mysql plugin
    By vr in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2007, 09:01
  3. Error Installing Qt 4.2.2 opensource on Mac OS X
    By dvmorris in forum Installation and Deployment
    Replies: 3
    Last Post: 7th March 2007, 20:09
  4. Does OpenGL be supported in opensource of Qt-4.1.2?
    By showhand in forum Qt Programming
    Replies: 1
    Last Post: 15th May 2006, 10:46

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.