Qt-interest Archive, February 2008
Windows static build issues
Message 1 in thread
Sorry to bug you guys again, I seem to be running into every
conceivable problem with this project. I am now trying to do a static
build of Qt 4.3.3 on a Windows 2000 machine. I am using the following
configure line:
configure -release -static -qt-sql-psql -L C:\PostgreSQL\8.3\lib -l pq
-I C:\PostgreSQL\8.3\include
configure runs fine. However, upon issuing the make sub-src command, I
get a "cannot find -lQtSql4" error. The lib directory has a file named
libQtSql.a, but no libQtSql4.a. I have an older, dynamic build of of
Qt 4.3.1 that has a libQtSql4.a, but obviously that's not going to
help with doing a static build of 4.3.3. Anyone know how I can get a
static build of 4.3.3 (or whatever is the latest by the time I get
this figured out) to compile on windows? While I am at it, is there
some way to keep it from building the examples? Thanks.
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
--
[ signature omitted ]
Message 2 in thread
Ok, by downloading and installing the pre-built binaries rather than
the straight source I managed to fix the "cannot find -lQtSql4" error,
and figured out how to not build the examples (make sub-src). Course,
now it's dying on "make install" with "Undefined reference to PQxyz"
errors. Argh! :)
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service Inc.
5245 Airport Industrial Rd
Fairbanks, AK 99709
(907) 450-7250 x293
-----------------------------------------------
On Feb 7, 2008, at 10:48 AM, Israel Brewster wrote:
> Sorry to bug you guys again, I seem to be running into every
> conceivable problem with this project. I am now trying to do a
> static build of Qt 4.3.3 on a Windows 2000 machine. I am using the
> following configure line:
>
> configure -release -static -qt-sql-psql -L C:\PostgreSQL\8.3\lib -l
> pq -I C:\PostgreSQL\8.3\include
>
> configure runs fine. However, upon issuing the make sub-src command,
> I get a "cannot find -lQtSql4" error. The lib directory has a file
> named libQtSql.a, but no libQtSql4.a. I have an older, dynamic build
> of of Qt 4.3.1 that has a libQtSql4.a, but obviously that's not
> going to help with doing a static build of 4.3.3. Anyone know how I
> can get a static build of 4.3.3 (or whatever is the latest by the
> time I get this figured out) to compile on windows? While I am at
> it, is there some way to keep it from building the examples? Thanks.
>
> -----------------------------------------------
> Israel Brewster
> Computer Support Technician
> Frontier Flying Service Inc.
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7250 x293
> -----------------------------------------------
>
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]
Message 3 in thread
Don't run into this pitfall (as I did):
http://trolltech.com/developer/task-tracker/index_html?method=entry&id=191584
--
[ signature omitted ]