[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Configure options for qt
From: |
Mark Brand |
Subject: |
Re: [Mingw-cross-env-list] Configure options for qt |
Date: |
Thu, 14 Jan 2010 12:23:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-17.1 Thunderbird/3.0 |
> For instance, in one of my projects I need to link against some
> image libraries explicitly when doing the static win32 build.
> This is easily done in my *.pro file via:
>
> ...
> win32 {
> LIBS += -liconv -ljasper -ljpeg -ltiff -lmng -lIlmImf ...
> }
>
(This is worth repeating I think.)
For static plugins, the plugin library can still end up with unresolved
symbols because qmake puts it in the makefile after the libraries
specified in LIBS. I described a workaround in an earlier post:
> A remaining issue arises when your static Qt plugin depends on a static
> library outside Qt. This obviously comes up in mingw-cross-env. For
> example, qsqlpsql might depend on pq. In such cases "QTPLUGIN +=
> qsqlpsql" is not enough to get qmake to create a Makefile that links to
> pq. What seems to work is "QTPLUGIN += qsqlpsql pq", but I don't know
> if this is the best way to solve the problem.
>
As Phep mentioned, a realistic example is:
> QTPLUGIN += qsqlpsql pq secur32 ssl crypto crypt32
>
- Re: [Mingw-cross-env-list] Configure options for qt, (continued)
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/13
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/17
- Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Mark Brand, 2010/01/18
- Re: Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Tony Theodore, 2010/01/18
- Message not available
- Fwd: Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Tony Theodore, 2010/01/18
- Re: Fwd: Libidn.dll (WAS [Mingw-cross-env-list] Configure options for qt), Volker Grabsch, 2010/01/19
- Re: [Mingw-cross-env-list] Configure options for qt, phep, 2010/01/14
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/14
- Re: [Mingw-cross-env-list] Configure options for qt,
Mark Brand <=
- Re: [Mingw-cross-env-list] Configure options for qt, phep, 2010/01/14
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/14
- Re: [Mingw-cross-env-list] Configure options for qt, Volker Grabsch, 2010/01/14
- Message not available
- Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/16
Re: [Mingw-cross-env-list] Configure options for qt, Mark Brand, 2010/01/13