PDA

View Full Version : Static Qt 5.2.1



8Observer8
18th April 2014, 10:26
Hello!

I want to build Qt statically.

I opened file c:\Qt\Qt5.2.1\5.2.1\Src\qtbase\mkspecs\win32-g++\qmake.conf and wrote:


QMAKE_LFLAGS = -static -static-libgcc


I opened the terminal and wrote:


cd c:\Qt\Qt5.2.1\5.2.1\Src\qtbase


I wrote:


configure -static -prefix "C:\Qt\Qt5.2.1_static" -gui -multimedia -multimediawidgets -network -qml -sql -testlib -webkit -widgets -bluetooth -positioning -scripttools -serialport -svg -winextras -x11extras -xml -xmlpatterns -opengl desktop -nomake examples -nomake tests


But I see:


Unkown option -multimedia


Thank you in advance!