Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Static build of Qt, Error
Forum Update on Monday, May 27th 2025

Static build of Qt, Error

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 904 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.
  • F Offline
    F Offline
    Freddy1111
    wrote on 20 May 2016, 16:10 last edited by
    #1

    hi,
    im trying to build qt statically with

    cd /path/to/Qt
    ./configure -static -prefix /path/to/Qt <other parameters>
    make
    

    and got some errors. Now i am facing the following one:

    .obj/simple-qml_plugin_import.o:simple-qml_plugin_import.cpp:function _GLOBAL__sub_I_simple_qml_plugin_import.cpp: error: undefined reference to 'qt_static_plugin_AssimpParserPlugin()'
    collect2: error: ld returned 1 exit status

    I cant find anything about it. Anyone an idea?

    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      shahriar25
      wrote on 20 May 2016, 17:55 last edited by
      #2

      Hi
      what is your distro? first you have to install these:

      https://wiki.qt.io/Building_Qt_5_from_Git

      and also don't build examples and build in release mod

      something like this:

      ./configure -static -release -prefix /path/to/Qt <other parameters> -nomake examples

      and then:
      make -j <no. of processes>
      make install

      This is what I know

      1 Reply Last reply
      0

      1/2

      20 May 2016, 16:10

      • Login

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