ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #04331
[Bug 1488047] [NEW] Adding new files in subdirectory deploy them in root directory with qmake template
Public bug reported:
Using only the IDE, the deployed application from the qmake template
isn't executable as all files are shipped to the app directory.
1. Create a qmake application
2. add a subdirectory to the QML module like "components"
3. right click on QML -> Add New
-> select a file type (Qt/QML File for isntance)
4. name it something like "foo.qml" in the "components" subdirectory.
5. import it from Main.qml: import "components"
-> then, if you deploy this app to the phone, it won't run (fail at start). The issue is that the root .pro file contains:
DISTFILES += \
component/foo.qml
which ships foo.qml next to Main.qml, and not in a component
subdirectory, making the app not runnable.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: qtcreator-plugin-ubuntu 3.5.0+15.10.20150817-0ubuntu1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Aug 24 12:50:41 2015
InstallationDate: Installed on 2012-05-28 (1182 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: qtcreator-plugin-ubuntu
UpgradeStatus: Upgraded to wily on 2014-10-31 (296 days ago)
** Affects: qtcreator-plugin-ubuntu (Ubuntu)
Importance: Undecided
Status: New
** Tags: devexp
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1488047
Title:
Adding new files in subdirectory deploy them in root directory with
qmake template
Status in qtcreator-plugin-ubuntu package in Ubuntu:
New
Bug description:
Using only the IDE, the deployed application from the qmake template
isn't executable as all files are shipped to the app directory.
1. Create a qmake application
2. add a subdirectory to the QML module like "components"
3. right click on QML -> Add New
-> select a file type (Qt/QML File for isntance)
4. name it something like "foo.qml" in the "components" subdirectory.
5. import it from Main.qml: import "components"
-> then, if you deploy this app to the phone, it won't run (fail at start). The issue is that the root .pro file contains:
DISTFILES += \
component/foo.qml
which ships foo.qml next to Main.qml, and not in a component
subdirectory, making the app not runnable.
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: qtcreator-plugin-ubuntu 3.5.0+15.10.20150817-0ubuntu1
ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
Uname: Linux 4.1.0-3-generic x86_64
ApportVersion: 2.18-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Aug 24 12:50:41 2015
InstallationDate: Installed on 2012-05-28 (1182 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: qtcreator-plugin-ubuntu
UpgradeStatus: Upgraded to wily on 2014-10-31 (296 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1488047/+subscriptions