Important: Please read the Qt Code of Conduct -

About WebEngineView application dynamic compiler problem

  • Hello,

    I found a problem from QtWebEngineView,it's Qt Quick Application.
    Development environment like this:
    Windows 7 64-bit
    Qt 5.7.0 for Windows 64-bit VS 2013
    IDE is Qt Creator,Compiler is MSVC 2013

    Application in development environment run is no problem, it's can not be normal operation after dynamic compiler,not any view to show.
    Dynamic compiler method is used cmd "windeployqt xxx.exe --qmldir D:\qt\5.7\msvc2013_64\qml", qml path is right.
    If don't import QtWebEngine 1.3 or 1.2 and import QtQuick.Controls 2.0, it's work!
    This problem is no error,no tip,how to fix it?
    Please give me some ideas,thx~
    (ps:i'm so sorry to create a new topic,it's a unexpected error...)

  • @Lee-Coder OK, I fixed this problem.
    If you have the same problem,maybe this topic can help you.
    If you import QtQuick.Controls 2.0 or QtWebEngine 1.x, the cmd command "windeployqt xxx.exe --qmldir xxx" can not auto copy required qml folder, you must manual copy qml folder,like this:
    QtQuick.Controls 2.0 - %you qt path%/5.7/msvc2013_64/qml/QtQuick/Controls.2,copy all folder in your dynamic compiler project,eg:%dynamic compiler project%/QtQuick/Controls.2
    QtWebEngine follow the same steps specified above.
    OK~it's work!

Log in to reply