Hi everyone. I know: 99% of questions about Qt is installation problems of open-source version (I think Trolltech made it specially for increasing sales of commercial version
. My question is not trivial, haven't found it yet (except my same one on qtforum.org),
I'm trying to compile Qt 4.3.1.
Here is my script:
@echo off
rem
rem This file is generated
rem
echo Setting up a MinGW/Qt only environment...
echo -- QTDIR set to C:\Qt\4.3.1
echo -- PATH set to C:\Qt\4.3.1\bin
echo -- Adding C:\MinGW\bin to PATH
echo -- Adding %SystemRoot%\System32 to PATH
echo -- QMAKESPEC set to win32-g++
set QTDIR=C:\Qt\4.3.1
set PATH=C:\Qt\4.3.1\bin
set PATH=%PATH%;C:\MinGW\bin
set PATH=%PATH%;%SystemRoot%\System32
set QMAKESPEC=win32-g++
cd %QTDIR%
REM make confclean
pause
configure -debug-and-release -static -no-qt3support -no-rtti -no-stl -no-exceptions -no-accessibility -qt-libpng -qt-libjpeg -qt-sql-psql -I "C:\Progra~1\PostgreSQL\8.2\include" -L "C:\Progra~1\PostgreSQL\8.2\lib" l libpq
cd %QTDIR%\src
REM qmake
mingw32-make sub-src
@echo off
rem
rem This file is generated
rem
echo Setting up a MinGW/Qt only environment...
echo -- QTDIR set to C:\Qt\4.3.1
echo -- PATH set to C:\Qt\4.3.1\bin
echo -- Adding C:\MinGW\bin to PATH
echo -- Adding %SystemRoot%\System32 to PATH
echo -- QMAKESPEC set to win32-g++
set QTDIR=C:\Qt\4.3.1
set PATH=C:\Qt\4.3.1\bin
set PATH=%PATH%;C:\MinGW\bin
set PATH=%PATH%;%SystemRoot%\System32
set QMAKESPEC=win32-g++
cd %QTDIR%
REM make confclean
pause
configure -debug-and-release -static -no-qt3support -no-rtti -no-stl -no-exceptions -no-accessibility -qt-libpng -qt-libjpeg -qt-sql-psql -I "C:\Progra~1\PostgreSQL\8.2\include" -L "C:\Progra~1\PostgreSQL\8.2\lib" l libpq
cd %QTDIR%\src
REM qmake
mingw32-make sub-src
To copy to clipboard, switch view to plain text mode
There are no problems with paths etc. All processes passed without any error. I've just one big problem: can't compile programs which use libQt...4d (e.g. - libQtGui4d) libs (v4 debug libs). There are all other versions of libs compiled and placed into lib folder (e.g. - there are libQtGuid.a, libQtGui.a, libQtGui4.a).
Programs which doesn't use v4 debug libs are also compiled and launched successfully.
I've spent two days without any hint. There are no such problem reports yet in internet. I think most of Qt users suspect nothing about absence of v4 debug libs.
So questions are:
1. Does anyone have libQt...d4.a files in Qt lib folder yet? If yes - give me some clue - what I've missed and where. What for these "v4" versions needed yet?
2. Does qtmake launching (commented in my script) is neccessary? What does it do at all in my case?
In officialy generated qtvars.bat it's present, in lot of forum posts - absent. Who knows?
Thanks for any questions.
Bookmarks