[Interest] First Time Android Woes (internet and qrc issues)

Jason H jhihn at gmx.com
Fri Dec 5 19:35:18 CET 2014


I developed my QML application on my PC, and switched it over to Android. Everything works as expected on the PC. Qt 5.3.0 Android KitKat

For android, first issue:
I created a manifest, and added the permissions I needed, including the INTERNET one. 
D/Qt      ( 3331): qrc:///ajax.js:13 (): qml: REQUEST 1
D/Qt      ( 3331): qrc:///ajax.js:17 (get): qml: GET 
D/Qt      ( 3331): qrc:///ajax.js:10 (): qml: Status: 0, Status Text: 
D/Qt      ( 3331): qrc:///ajax.js:13 (): qml: REQUEST 4

Where the number after REQUEST is the readystate of the request. 

Second issue:
I have art in my qrc. It works fine on PC, but then I get:
QSupportedWritingSystems*)): FT_New_Face failed with index 0 : 90
W/Qt      ( 3331): qrc:///Location.qml:38 ((null)): qrc:///Location.qml:38:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-01.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-07.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-06.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-05.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-08.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-04.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-02.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-01.svg
W/Qt      ( 3331): qrc:///ImageSelect.qml:13 ((null)): qrc:///ImageSelect.qml:13:2: QML Image: Invalid image data: qrc:///SVG/homunculus/body-03.svg
W/Qt      ( 3331): qrc:///MyCanvas.qml:80 ((null)): qrc:///MyCanvas.qml:80:3: QML Image: Invalid image data: qrc:///SVG/circle_delete.svg
W/Qt      ( 3331): qrc:///MyCanvas.qml:80 ((null)): qrc:///MyCanvas.qml:80:3: QML Image: Invalid image data: qrc:///SVG/circle_delete.svg
W/Qt      ( 3331): qrc:///LoginScreen.qml:25 ((null)): qrc:///LoginScreen.qml:25:3: QML Image: Invalid image data: qrc:///SVG/logo-mobile.svg

These seem like they should be simple? Any help is appreciated!



More information about the Interest mailing list