Hello,

 

Based on that directory structure, you would need to be adding your working 
directory to your QML imports path (i.e. the directory that your 
4GNextGenTerminal.exe file is in).

 

Informations on ways to add to the import path can be found here:

 

http://doc.qt.nokia.com/4.7-snapshot/qdeclarativemodules.html#import-path

 

While I'm no expert on the C++ side of things myself, I personally would have a 
subdirectory named "imports" that I would copy the QtWebKit folder into, and 
then I'd add that "imports" folder to the import path in my exe.

 

Mark T

 

 

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Flaig, Patrick
Sent: 03 August 2011 14:36
To: [email protected]
Subject: [Qt-qml] Deploy qt qml application

 

Hello qt-qml list,

 

I have some big problems getting all needed DLL's together to deploy a qt-qml 
application.

Everything is working fine in Qt Creator if I run my application as debug or 
release configuration, 

but if I copy the application to another PC that has no Qt installed it is not 
fully running.

 

Some more details:

Operating System Windows 7 64bit

QtSDK 4.7.3 mingw

 

My qt-qml application is using the webkit plugin, and here I have the most 
problems, the qmlwebkitplugin.dll cannot be found, but it is in the path.

 

file:///Z:/usr/pflaig/4GNextGenTerminal-Demo/qml/4GNextGenTerminal/Webcontent.qml:2:1:
 plugin cannot be loaded for module "QtWebKit": 

Cannot load library 
Z:/usr/pflaig/4GNextGenTerminal-Demo/QtWebKit/qmlwebkitplugin.dll: Das 
angegebene Modul wurde nicht gefunden.

 

Here's the structure of my deploy folder:

Z:.

│   4GNextGenTerminal.exe

│   libgcc_s_dw2-1.dll

│   mingwm10.dll

│   QtCore4.dll

│   QtDeclarative4.dll

│   QtGui4.dll

│   QtNetwork4.dll

│   QtScript4.dll

│   QtSql4.dll

│   QtSvg4.dll

│   QtXml4.dll

│   QtXmlPatterns4.dll

│   QtWebKit4.dll

│

├───qml

│   └───4GNextGenTerminal

│           BookingDialog.qml

│           BusinessTrip.qml

│           BusinessTripModel.qml

│           ButtonList.qml

│           ButtonModel.qml

│           dienstgang.svg

│           gehen.svg

│           info.svg

│           Header.qml

│           kalender.svg

│           kommen.svg

│           schmetterling.svg

│           uidemo.qml

│           Webcontent.qml

│

├───QtWebKit

│       qmldir

│       qmlwebkitplugin.dll

│

└───imageformats

        qgif4.dll

        qico4.dll

        qjpeg4.dll

        qmng4.dll

        qsvg4.dll

        qtiff4.dll

 

The complete application is running except the webkit part. Any ideas what I'm 
doing wrong?

The webkit plugin is from C:\QtSDK\Desktop\Qt\4.7.3\mingw\imports\QtWebKit.

 

Thanks a lot.

 

Regards

 

Patrick

 

________________________________


The information contained in this message is privileged and intended only for 
the recipients named. If the reader is not a representative of the intended 
recipient, any review, dissemination or copying of this message or the 
information it contains is prohibited. If you have received this message in 
error, please immediately notify the sender, and delete the original message 
and attachments.

_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to