Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. static linking and Multimedia module
QtWS25 Last Chance

static linking and Multimedia module

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 464 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    valeriy
    wrote on last edited by
    #1

    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
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved