[Development] QStandardPath search paths

Thiago Macieira thiago.macieira at intel.com
Wed Jul 31 20:13:28 CEST 2013


On quarta-feira, 31 de julho de 2013 11:05:56, Alan Alpert wrote:
> Search paths make "asset:/main.qml" work on all platforms. I don't see
> how QStandardPaths::locate would work here other than
> 
> #ifndef Q_OS_ANDROID
> QStandardPaths::locate(AssetPath, "main.qml");
> #else
> "asset:/main.qml";
> #endif

Why can't QStandardPaths::locate return "asset:/main.qml" ?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130731/70056778/attachment.sig>


More information about the Development mailing list