Results 1 to 6 of 6

Thread: problem with qml + webkit deployment

  1. #1
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default problem with qml + webkit deployment

    Hi. I have a small problem.
    I've created small app. One class inherited from qdeclarativeview with qml files.
    And I use webview to show htm files (local).
    I've imported qt webkit 1.0.
    The problem is - everything works fine in creator. Even when I launch main.qml from qmlviewer all is good. but release version of the app shows nothing. Like some error is in code but I can't get this error.
    Could you help me with it?

  2. #2
    Join Date
    Dec 2010
    Location
    Veszprém, Hungary
    Posts
    34
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem with qml + webkit deployment

    Is the application working directory OK?

  3. #3
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem with qml + webkit deployment

    Hmm, what do you mean?

  4. #4
    Join Date
    Dec 2010
    Location
    Veszprém, Hungary
    Posts
    34
    Thanks
    2
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem with qml + webkit deployment

    Maybe, when you start your app as .exe, the working dir is not set and that's why the webview cannot find your html -> you get blank screen

  5. #5
    Join Date
    Nov 2008
    Posts
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: problem with qml + webkit deployment

    Did you include QWebkit4.lib to your exe file? if your problem shows up at target machine check wheter you've included qmlwebkitplugin in your installer

  6. #6
    Join Date
    Jun 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problem with qml + webkit deployment

    Now I have the same problem with tereks....
    I think the cause is not as what laszlo.gosztola said,
    because even if I only add the line "import QtWebKit 1.0" in a
    runnable release version program, the program turns to show
    nothing(though it is running).

    And I want to know how to include qmlwebkitplugin in my installer...

Similar Threads

  1. Deployment problem on qt 4.5 windows
    By brasio in forum Installation and Deployment
    Replies: 14
    Last Post: 26th June 2010, 00:05
  2. !!!! problem deployment of a Mac
    By eric_vi in forum Installation and Deployment
    Replies: 0
    Last Post: 21st May 2010, 15:38
  3. deployment problem in solaris9
    By omprakash in forum Installation and Deployment
    Replies: 1
    Last Post: 6th July 2008, 19:01
  4. Application deployment problem
    By shapirlex in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th April 2007, 00:11
  5. mac deployment problem
    By munna in forum Installation and Deployment
    Replies: 1
    Last Post: 6th December 2006, 14:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.