D
D
Deerenaros2017-02-20 13:41:36
Qt
Deerenaros, 2017-02-20 13:41:36

QT 5.8 (Static Build) + QBS: WTF with linking wrong?

Actually, adequate deployment was required, applications of 200 megabytes are not comme il faut, as for me. I rebuilt Qt (for some reason), compiled my application statically...
And nothing! Some kind of heresy was invented, since it does not link with libqwindows.a, this requires

#include <QtPlugin>
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)

which, obviously, results in,
903c3604f3a146baa83e6ef087e326b1.png
however, the googled Qt5PlatformSupport.lib is simply missing!
d248d4c9b4274a87b6ee3945edc57e1c.png
Is this a gradual tightening of the screws with fucking licenses? Not tired of copying this nonsense? What to do, roll back to 5.1 or leave Qt for .Net? Well, in general, now I would like to collect this shit and run it on any stove.
PS Comrades, do not tell me, but on Android an assembly with the same tambourines? Or did you figure it out once and everything is fine and wonderful at once?
UPD.
Collected with the following magic:
configure.bat
    -static -release -platform win32-g++ -prefix C:\Qt\Static\5.8
    -skip qtwayland -skip qtx11extras -skip qtspeech -skip qtpurchasing -skip qtnetworkauth -skip qtlocation -skip qtwebengine
    -qt-zlib -qt -pcre -qt-libpng -qt-libjpeg -qt-freetype
    -opengl desktop -no-openssl -opensource -confirm-license
    -make libs
    -nomake tools -nomake examples -nomake tests

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question