static linking and Multimedia module



  • I decided to create set of static linking...
    my actions:

    1. changed qmake.conf path: C:\Qt\Qt5.5.1\5.5\mingw492_32\mkspecs\win32-g++
    QMAKE_LFLAGS += -static-libgcc -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc
    DEFINES += QT_STATIC_BUILD
    
    1. i opened qt's terminal Qt 5.5 for Desktop (MinGW 4.9.2 32 bit)
      wrote: C:\Qt\Qt5.5.1\5.5\src\
    2. configured installation
    configure -static -platform win32-g++ -prefix "C:\Qt\Qt5.5.1_Static" -release -opensource -confirm-license -nomake examples -nomake tests -nomake tools -opengl desktop -no-angle -qt-sql-sqlite -wmf-backend -audio-backend -make libs -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype
    
    1. compile mingw32-make and copied mingw32-make install
    2. adde a new set to Qt creator
      when I open a project, I get a message:
      Project ERROR: Unknown module(s) in QT: multimedia
      if comment out all that is connected with multimedia module, app compile and run without *.dll

Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.