Re: [Qt-qml] How plugin paths should work

2010-08-11 Thread Jyrki Hämäläinen
09.08.2010 16:14, Matthias Ettrich kirjoitti: > On Monday 09 August 2010 10:09:34 ext Jyrki Hämäläinen wrote: > > >> The problem (as I understand it and the actual technical background may be >> somewhat different) was that we tried to use pluginpath to tell where >> plugins are located and

Re: [Qt-qml] How plugin paths should work

2010-08-09 Thread Matthias Ettrich
On Monday 09 August 2010 10:09:34 ext Jyrki Hämäläinen wrote: > > Thanks Matthias, Your welcome. [...] > > The problem (as I understand it and the actual technical background may be > somewhat different) was that we tried to use pluginpath to tell where > plugins are located and then force QT

Re: [Qt-qml] How plugin paths should work

2010-08-09 Thread Jyrki Hämäläinen
07.08.2010 16:15, Matthias Ettrich kirjoitti: > On Friday 06 August 2010 09:14:44 ext Jyrki Hämäläinen wrote: > >> Hello everyone, >> >> We are trying to build a suite of applications with QML. >> Some of the applications need to share C++-plugins. >> >> Also to enhance the structure of the app

Re: [Qt-qml] How plugin paths should work

2010-08-07 Thread Matthias Ettrich
On Friday 06 August 2010 09:14:44 ext Jyrki Hämäläinen wrote: > Hello everyone, > > We are trying to build a suite of applications with QML. > Some of the applications need to share C++-plugins. > > Also to enhance the structure of the application, some applications use > subfolders to group rela

Re: [Qt-qml] How plugin paths should work

2010-08-06 Thread alan.westbrook
Just a quick note, the documentation says that you should not use the qmlviewer for running code you distribute. For what it's worth. Alan On Aug 6, 2010, at 12:14 AM, ext Jyrki Hämäläinen wrote: > We are trying to run the application like this > qmlviewer -P /yyy/libs/ /xxx/qmlapp/main.qml

Re: [Qt-qml] How plugin paths should work

2010-08-06 Thread Jyrki Hämäläinen
Hi Henrik, Thanks for the tip. Here is a trace. I have verified with two applications that the same problem occurs. I am not able to enclose the code. But I can make a dummy project using same idioms if that is useful. It seems that the plugin is actually found and but fails to use it. Could t

Re: [Qt-qml] How plugin paths should work

2010-08-06 Thread henrik.hartz
Hi Jyrki, While not having a solution to your problem without the full source available, you might find that using QML_IMPORT_TRACE environment variable to see what's happening with your module plugins; http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedebugging.html Hope this helps! Henrik On

[Qt-qml] How plugin paths should work

2010-08-06 Thread Jyrki Hämäläinen
Hello everyone, We are trying to build a suite of applications with QML. Some of the applications need to share C++-plugins. Also to enhance the structure of the application, some applications use subfolders to group related qml-files into modules. The application structure would be like this