The Ultimate Qt Community site
Home News Forum Wiki Contest FAQ Links

Go Back   Qt Centre Forum > Qt > Installation and Deployment

Installation and Deployment Qt installation and Qt-based software deployment issues.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 6th June 2007, 11:24
sunil.thaha's Avatar
sunil.thaha sunil.thaha is offline
Advanced user
 
Join Date: Jan 2006
Location: Kerala
Qt products used: Qt3 , Qt4
Qt platforms used: Unix/X11 , Windows
Posts: 369
Thanks: 76
Thanked 32 Times in 28 Posts
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
Reply With Quote
  #2  
Old 6th June 2007, 22:39
bongobonga bongobonga is offline
Beginner
 
Join Date: Jun 2007
Qt platforms used: MacOS , Unix/X11 , Windows
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
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.
Reply With Quote
  #3  
Old 7th June 2007, 06:46
sunil.thaha's Avatar
sunil.thaha sunil.thaha is offline
Advanced user
 
Join Date: Jan 2006
Location: Kerala
Qt products used: Qt3 , Qt4
Qt platforms used: Unix/X11 , Windows
Posts: 369
Thanks: 76
Thanked 32 Times in 28 Posts
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
Reply With Quote
  #4  
Old 8th June 2007, 14:40
bongobonga bongobonga is offline
Beginner
 
Join Date: Jun 2007
Qt platforms used: MacOS , Unix/X11 , Windows
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
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,
Reply With Quote
The following user says thank you to bongobonga for this useful post:
xEsk (26th June 2007)
  #5  
Old 14th June 2007, 06:00
traltixx traltixx is offline
Beginner
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #6  
Old 17th June 2007, 16:15
jacek jacek is offline
Guru
 
Join Date: Jan 2006
Location: Warsaw, Poland
Qt products used: Qt3 , Qt4
Qt platforms used: Unix/X11 , Windows
Posts: 5,369
Thanks: 28
Thanked 939 Times in 900 Posts
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
Reply With Quote
  #7  
Old 6th August 2007, 13:41
geo_saleh geo_saleh is offline
Beginner
 
Join Date: Jun 2007
Qt products used: Qt4
Qt platforms used: Unix/X11 , Windows
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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
2
3
4
5
6
7
8
9
10
11
12
in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
In file included from ..\..\3rdparty\zlib\crc32.c:29:
..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make: *** [sub-rcc-make_default-ordered] Error 2
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
Reply With Quote
  #8  
Old 7th August 2007, 06:02
sunil.thaha's Avatar
sunil.thaha sunil.thaha is offline
Advanced user
 
Join Date: Jan 2006
Location: Kerala
Qt products used: Qt3 , Qt4
Qt platforms used: Unix/X11 , Windows
Posts: 369
Thanks: 76
Thanked 32 Times in 28 Posts
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
Reply With Quote
  #9  
Old 5th January 2008, 06:21
firegun9 firegun9 is offline
Beginner
 
Join Date: Jun 2007
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
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
2
3
4
5
6
7
8
9
10
11
12
in32-g++" -o tmp\obj\release_shared\crc32.o ..\..\3rdparty\zlib\crc32.c
In file included from ..\..\3rdparty\zlib\crc32.c:29:
..\..\3rdparty\zlib\/zutil.h:21:24: stddef.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:23:22: string.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:24:22: stdlib.h: No such file or directory
..\..\3rdparty\zlib\/zutil.h:38:23: errno.h: No such file or directory
..\..\3rdparty\zlib\crc32.c:36:24: limits.h: No such file or directory
mingw32-make[2]: *** [tmp\obj\release_shared\crc32.o] Error 1
mingw32-make[2]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/src/tools/rcc'
mingw32-make: *** [sub-rcc-make_default-ordered] Error 2
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
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt4 win opensource + mysql plugin vr Installation and Deployment 3 25th May 2007 09:01
Error Installing Qt 4.2.2 opensource on Mac OS X dvmorris Installation and Deployment 3 7th March 2007 20:09
Opensource Calendar Widget donmorr Qt Tools 4 24th May 2006 13:00
Does OpenGL be supported in opensource of Qt-4.1.2? showhand Qt Programming 1 15th May 2006 10:46


All times are GMT +1. The time now is 00:56.


Powered by vBulletin Version 3.7.4 Copyright ©2000 - 2009, Jelsoft Enterprises Ltd., vRewrite 1.5 SEOed URLs completed by Tech Help Forum and Chalo Na.
© 2006–2009 Qt Centre - The Ultimate Qt Community site
Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.