Hello,

I have a colleague who is currently experiencing a similar problem. The
troublesome source code is simply:

/****************/
import Qt 4.7
import org.webkit 1.0
/****************/

And the exact error is:

/****************/
Starting D:\qt\projects\qml\locator-build\debug\locator.exe...
qrc:mainwindow.qml:2:1: module "org.webkit" is not installed
/****************/

My colleague has attmepted two different configurations:

1. Nokia Qt SDK beta, targeting the Symbian simulator
2. Qt 4.7 beta, targeting Windows

Both using Qt Creator 2.0 beta (though it’s reported as 1.3.83) and both
installed using the binaries.


On Fri, May 7, 2010 at 8:00 AM, <[email protected]> wrote:

>  Hi,
>
>        I have been working on Qt 4.7- qml applications for a month now.I am
> working on : Qt Creator 1.3.83,Based on Qt 4.7.0 (32 bit) ,Development
> environment is windows desktop. I don't have any compiler installed in my
> machine.  I downloaded the Qt opensources file *
> ftp://ftp.qt.nokia.com/qt/source/* <ftp://ftp.qt.nokia.com/qt/source/>
> qt-everywhere-opensource-src-4.7.0-tp.zip (03052010)
>
> I installed the Qt Creator into C: drive and then unziped the source into
> "qt" folder in the C:\Qt\qtcreator-1.3.83. I subtituted
> "C:\Qt\qtcreator-1.3.83"  as "z:". I set the environment variables
> QMAKESPEC  : win32-g++
> QTDIR  : z:\qt
> Path :\bin;\mingw\bin;\qt\bin;\qt\include;
> I can open Qt Creator and create working qml applications. After this., I
> tried to write a qml application project
> \\ Web-app.qml
> import Qt 4.7
> import org.webkit 1.0
>  WebView {
>      url: "*http://www.nokia.com* <http://www.nokia.com>"
>      width: 490
>      height: 400
>      scale: 0.5
>      smooth: false
>      smoothCache: true
>  }
> I am getting error "import org.webkit 1.0 " not installed.
> I configured  the qt sources from command prompt, z:\qt> configure , then
> z:\qt> mingw32-make and then finished with z:\qt> mingw32-make install.
> I still get same error. What I am missing here could someone help me? When
> I started this the installation for windows @ *
> http://doc.qt.nokia.com/4.7-snapshot/install-win.html*<http://doc.qt.nokia.com/4.7-snapshot/install-win.html>was
>  having different steps more specific to mingw32., which now seems to
> have changed. They were having the installation sequence which much similar
> to the one I refered above.
> If you are using a source edition of Qt, you must first install Perl so
> that the syncqt script invoked by configure can be executed. You can
> download this *here* <http://www.activestate.com/downloads/>
> I have Perl script installed on machine already. Perl, v5.10.0 .
> Could someone make the installation steps more straight forward.
> Thanks and Regards,
> Rakesh* *
>
>
>
> _______________________________________________
> Qt4-preview-feedback mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
>
>


-- 
Regards
Jack
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to