[Development] Contribution: include separate libraries with inlines in the Qt installers

Thiago Macieira thiago.macieira at intel.com
Wed Oct 21 17:31:15 CEST 2015


Em qua 21 out 2015, às 14:58:07, Dimitar Dobrev escreveu:
>     The way I do it locally is by generating a *.pro file as described at
> https://bugreports.qt.io/browse/QTBUG-47569 : QT += widgets
>     QMAKE_CXXFLAGS += -fkeep-inline-functions -std=c++0x
>     TARGET = QtWidgets-inlines
>     TEMPLATE = lib
>     SOURCES += QtWidgets-inlines.cpp
>     LIBS += -loleaut32 -lole32
>     And a single *.cpp file:
>     #include <QtWidgets>
>     The resulting library is then deployed alongside the user's application.
> Since such a library would be the same (per module) for any binding I
> figured it could - as suggested at
> http://lists.qt-project.org/pipermail/development/2014-April/016803.html -
> be made a part of Qt.

How do we do it with MSVC? What's the equivalent to -fkeep-inline-functions?

And if it's that easy for you to create it, I think you should create that 
yourself in your project.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list