Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-59767

[MinGW]: When using a static Qt build with Qt Quick Compiler, the application using it will complain of missing symbols

    XMLWordPrintable

Details

    Description

      [MinGW]: When using a static Qt build with Qt Quick Compiler, the application using it will complain of missing symbols. What it will say is:

      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0xbe2): 
      undefined reference to `_imp___ZN6QQmlJS6Engine4poolEv' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0xe24): 
      undefined reference to `_imp___ZTVN6QQmlJS3AST19ExpressionStatementE' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0x1236): 
      undefined reference to `_imp___ZTVN6QQmlJS3AST14NullExpressionE' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0x1584): 
      undefined reference to `_imp___ZTVN6QQmlJS3AST19FormalParameterListE' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0x16a1): 
      undefined reference to `_imp___ZN6QQmlJS6Engine12newStringRefERK7QString' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0x16cf): 
      undefined reference to `_imp___ZTVN6QQmlJS3AST19FormalParameterListE' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0x17a5): 
      undefined reference to `_imp___ZN6QQmlJS6Engine12newStringRefERK7QString' 
      release/qtquickcompiler_loader.o:qtquickcompiler_loader.cpp:(.text+0x1892): 
      undefined reference to `_imp___ZTVN6QQmlJS3AST19FunctionDeclarationE' 
      collect2.exe: error: ld returned 1 exit status 
      mingw32-make[1]: *** [release\untitled1.exe] Error 1 
      mingw32-make: *** [release] Error 2 
      Makefile.Release:74: recipe for target 'release\untitled1.exe' failed 
      

      Attachments

        For Gerrit Dashboard: QTBUG-59767
        # Subject Branch Project Status CR V

        Activity

          People

            shausman Simon Hausmann
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes