On segunda-feira, 23 de julho de 2012 13.56.51, [email protected] wrote:
> Hi,
>
> To use the static qt libraries, now I can build out all the libQtCore.a ,
> libQtGui.a , libQtWidgets.a etc with option -static. Also I can create a
> new shared object libQtMaster.so which is composed of all of above static
> objects (libQtXXX.a)

No, you can't do that.

> , then I want my Qt application be dynamic linked with
> this libQtMain.so by:
>
> QT += master
>
> so how to create this new QT module "master" that can be used from the .pro
> files ?

You can't do that. There's no such module. And you can't link static libraries
into a shared library (well, you're not supposed to). You can only link them
to the final application executable.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to