Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. About WebEngineView application dynamic compiler problem

About WebEngineView application dynamic compiler problem

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 1 Posters 874 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.
  • L Offline
    L Offline
    Lee Coder
    wrote on last edited by Lee Coder
    #1

    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...)

    L 1 Reply Last reply
    0
    • L Lee Coder

      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...)

      L Offline
      L Offline
      Lee Coder
      wrote on last edited by
      #2

      @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!
      thx~

      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