qmlscene reports invalid option -I

Bug #1298659 reported by Pat McGowan
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qtdeclarative-opensource-src (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Build 264 running qt 5.2.1
The SaucyBacon app in the store happens to use a command line

qmlscene -I modules/ app/saucybacon.qml

and the app fails to launch, the log reports

qmlscene: invalid option -- '-I'

running qmlscene on the command line on the phone also reports this.

Tags: qmlscene qt5.2
affects: qtbase-opensource-src (Ubuntu) → qtdeclarative-opensource-src (Ubuntu)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Some additional data, while the actual cause is unknown:
1. The issue doesn't seem to affect x86, for reasons unknown
2. It also happens on image #237 (Qt 5.0.2), so it also didn't work before

It shouldn't prevent the actual launch of the app, unless of course the app depends on the additional include to work properly.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Ok let's keep this bug open about the -I issue in general, while saucy bacon problems do not seem to be related. It also started for me when installed on the new #266 image.

Changed in qtdeclarative-opensource-src (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

For reference music app sees the same error.

usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: unrecognized option '--file='
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtdeclarative-opensource-src (Ubuntu):
status: New → Confirmed
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

This seems to only affect the armhf build. Upstream and help both show -I as valid. It works properly on the desktop as well, but throws the warning on phablet:

phablet@ubuntu-phablet:~$ qmlscene -I
/usr/lib/arm-linux-gnueabihf/qt5/bin/qmlscene: invalid option -- 'I'

That said, it appears the additional path is used during imports and the error message is not correct.

tags: added: qmlscene
Changed in qtdeclarative-opensource-src (Ubuntu):
assignee: Timo Jyrinki (timo-jyrinki) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.