<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<p>Hello,
<br>
<br>I read on a wiki/docs page on qt-project.org yesterday that it isn't possible anymore to import a single .qml, where this was possible in Qt 4.8. Instead you now have to import the directory where the .qml is located in. I don't know on which page I read, but I can look it up when I'm behind my laptop again. It was one of the differences between Qt 4 
<br>4 and 5/porting to Qt5 pages though.
<br>
<br>Hope this is helpful,
<br>
<br>Superpelican
<br>
<br>On Fri Aug   2 2013 11:39:46 PM CEST, <a href="mailto:christopher.lamb@thurweb.ch">christopher.lamb@thurweb.ch</a> wrote:
<br>
<br>> Hi All
<br>> 
<br>> Is there anything different about where Qt import packages should be  
<br>> installed on the Qt5 Alpha Emulator?
<br>> 
<br>> By "import package" I mean the sort of thing that you import to a qml  
<br>> file as follows
<br>> 
<br>> import org.flyingsheep.abstractui 1.0
<br>> 
<br>> In the old Qt 4.8.3 Alpha Emulator I installed my package in  
<br>> /usr/lib/qt4/imports
<br>> 
<br>> On the new Qt 5 Alpha Emulator I have installed the package under  
<br>> /usr/lib/qt5/imports
<br>> 
<br>> i.e. in the Qt5 imports directory rather than the Qt4 equivalent.
<br>> 
<br>> However when I try and run an app importing this package in QtCreator  
<br>> I get the following error:
<br>> 
<br>> <a href="file:///opt/sdk/landedsettingsQt5_21/usr/share/landedsettingsQt5_21/main.qml:2:1">file:///opt/sdk/landedsettingsQt5_21/usr/share/landedsettingsQt5_21/main.qml:2:1</a>:
<br>> module "org.flyingsheep.abstractui" is not     installed
<br>> 
<br>> Any ideas?
<br>> 
<br>> Chris
<br>> 
<br>> 
<br>> _______________________________________________
<br>> SailfishOS.org Devel mailing list
<br><br></p>
</body>
</html>