Statically link Qt application with QML

Gábor Angyal

I am trying to statically link a Qt application which uses the QML module. Previously when it did not include QML I was able to build and link it statially.

In the compile output I get the following message:

'C:\Qt\5.4\qtbase\bin\qmlimportscanner.exe' is not recognized as an internal or external command,
operable program or batch file.

The qmlimportscanner.exe is indeed missing from my installation. After some research the only place I have found this file is the qt5-declarative-tools Cygwin package.

In the maintenence tool I was not able to identify any package that I would suspect to contain this tool. How do I get the qmlimportscanner.exe?

I am running Windows 8.1 and Qt 5.4.

Gábor Angyal

It seems that the declarative module of Qt was not build. I have built a static version of Qt a few month ago, and I do not remember taking out the declarative module explicitly. Maybe I did, or maybe it is indeed not built by default. Anyway this modul can be buil by itself using nmake (or jom):

nmake module-qtdeclarative

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to make Qt and Qtcreator link the libraries statically instead of dynamic?

From Dev

Deploy Qt5 QML application

From Dev

Qt - simple QML application doesn't work

From Dev

Translating a closed-source Qt/QML application

From Dev

qml and c++ with qt quick 2 application

From Dev

Shader not working in Android - QT/QML Application

From Dev

Statically link OpenSSL in XCode

From Dev

Qt5.1.0 Static linking, "This application cannot be statically linked to the fftreal library"

From Dev

How to statically link sqlite3 + extension functions into a C / C++ application?

From Dev

Where to put Qt QML non-visual application components

From Dev

I want to create a scrollable ListView or tableView for a QT / QML Touchscreen Application

From Dev

Custom Touch behavior in Windows 7 with Qt/QML application

From Dev

crash at exit when creating a QML application with Visual Studio and Qt 5.3

From Dev

I want to create a scrollable ListView or tableView for a QT / QML Touchscreen Application

From Dev

Custom Touch behavior in Windows 7 with Qt/QML application

From Dev

Developing statically linked Qt applications

From Dev

Statically link with Microsoft CRT, and OpenMP

From Dev

Undefined reference to statically declared variable in Qt?

From Dev

Statically link C++ library with a Haskell library

From Dev

CMake failing to statically link SDL2

From Dev

How to statically link Indy SSL files?

From Dev

Link go program vs GNU readline statically

From Dev

Can we link a dynamic C library statically?

From Dev

Is it possible to statically link libstdc++ and wrap memcpy?

From Dev

Delphi link to windows dll statically or dynamically

From Dev

Link ffmpeg lib statically in Visual Studio

From Dev

Statically link ld.so (ld.a?)

From Dev

Qt QML ListView visible

From Dev

Qt QML Singleton Intellisense

Related Related

  1. 1

    How to make Qt and Qtcreator link the libraries statically instead of dynamic?

  2. 2

    Deploy Qt5 QML application

  3. 3

    Qt - simple QML application doesn't work

  4. 4

    Translating a closed-source Qt/QML application

  5. 5

    qml and c++ with qt quick 2 application

  6. 6

    Shader not working in Android - QT/QML Application

  7. 7

    Statically link OpenSSL in XCode

  8. 8

    Qt5.1.0 Static linking, "This application cannot be statically linked to the fftreal library"

  9. 9

    How to statically link sqlite3 + extension functions into a C / C++ application?

  10. 10

    Where to put Qt QML non-visual application components

  11. 11

    I want to create a scrollable ListView or tableView for a QT / QML Touchscreen Application

  12. 12

    Custom Touch behavior in Windows 7 with Qt/QML application

  13. 13

    crash at exit when creating a QML application with Visual Studio and Qt 5.3

  14. 14

    I want to create a scrollable ListView or tableView for a QT / QML Touchscreen Application

  15. 15

    Custom Touch behavior in Windows 7 with Qt/QML application

  16. 16

    Developing statically linked Qt applications

  17. 17

    Statically link with Microsoft CRT, and OpenMP

  18. 18

    Undefined reference to statically declared variable in Qt?

  19. 19

    Statically link C++ library with a Haskell library

  20. 20

    CMake failing to statically link SDL2

  21. 21

    How to statically link Indy SSL files?

  22. 22

    Link go program vs GNU readline statically

  23. 23

    Can we link a dynamic C library statically?

  24. 24

    Is it possible to statically link libstdc++ and wrap memcpy?

  25. 25

    Delphi link to windows dll statically or dynamically

  26. 26

    Link ffmpeg lib statically in Visual Studio

  27. 27

    Statically link ld.so (ld.a?)

  28. 28

    Qt QML ListView visible

  29. 29

    Qt QML Singleton Intellisense

HotTag

Archive