Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

importpaths on command-line are ignored when reloading files #10

Open
tobsan opened this issue Mar 18, 2016 · 0 comments
Open

importpaths on command-line are ignored when reloading files #10

tobsan opened this issue Mar 18, 2016 · 0 comments

Comments

@tobsan
Copy link

tobsan commented Mar 18, 2016

When running qmllive with a given command-line importpath, but having another import path set in preferences, qmllive will ignore the command-line one when reloading after files change.

When calling qmllive as such:
$ cd project-a/
$ qmllivebench -importpath ./imports ./ Main.qml
And having set some other import path in preferences of qmllive (say, project-b/imports), then qmllive complains when reloading after some file in project-a changes if one tries to use components that are not in project-b/imports.

I'm not sure about what would be most reasonable, but I think command-line arguments should take precedence over the stuff set in preferences.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant