{"action":"created","issue":{"url":"https://api.github.com/repos/kayhayen/Nuitka/issues/76","repository_url":"https://api.github.com/repos/kayhayen/Nuitka","labels_url":"https://api.github.com/repos/kayhayen/Nuitka/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/kayhayen/Nuitka/issues/76/comments","events_url":"https://api.github.com/repos/kayhayen/Nuitka/issues/76/events","html_url":"https://github.com/kayhayen/Nuitka/issues/76","id":317005471,"number":76,"title":"PyQt5 QML standalone not working","user":{"login":"brupelo","id":18058492,"avatar_url":"https://avatars3.githubusercontent.com/u/18058492?v=4","gravatar_id":"","url":"https://api.github.com/users/brupelo","html_url":"https://github.com/brupelo","followers_url":"https://api.github.com/users/brupelo/followers","following_url":"https://api.github.com/users/brupelo/following{/other_user}","gists_url":"https://api.github.com/users/brupelo/gists{/gist_id}","starred_url":"https://api.github.com/users/brupelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brupelo/subscriptions","organizations_url":"https://api.github.com/users/brupelo/orgs","repos_url":"https://api.github.com/users/brupelo/repos","events_url":"https://api.github.com/users/brupelo/events{/privacy}","received_events_url":"https://api.github.com/users/brupelo/received_events","type":"User","site_admin":false},"labels":[{"id":37041249,"url":"https://api.github.com/repos/kayhayen/Nuitka/labels/bug","name":"bug","color":"fc2929","default":true},{"id":929687529,"url":"https://api.github.com/repos/kayhayen/Nuitka/labels/needs_example","name":"needs_example","color":"94bbe0","default":false}],"state":"open","locked":false,"assignee":{"login":"kayhayen","id":4226920,"avatar_url":"https://avatars1.githubusercontent.com/u/4226920?v=4","gravatar_id":"","url":"https://api.github.com/users/kayhayen","html_url":"https://github.com/kayhayen","followers_url":"https://api.github.com/users/kayhayen/followers","following_url":"https://api.github.com/users/kayhayen/following{/other_user}","gists_url":"https://api.github.com/users/kayhayen/gists{/gist_id}","starred_url":"https://api.github.com/users/kayhayen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayhayen/subscriptions","organizations_url":"https://api.github.com/users/kayhayen/orgs","repos_url":"https://api.github.com/users/kayhayen/repos","events_url":"https://api.github.com/users/kayhayen/events{/privacy}","received_events_url":"https://api.github.com/users/kayhayen/received_events","type":"User","site_admin":false},"assignees":[{"login":"kayhayen","id":4226920,"avatar_url":"https://avatars1.githubusercontent.com/u/4226920?v=4","gravatar_id":"","url":"https://api.github.com/users/kayhayen","html_url":"https://github.com/kayhayen","followers_url":"https://api.github.com/users/kayhayen/followers","following_url":"https://api.github.com/users/kayhayen/following{/other_user}","gists_url":"https://api.github.com/users/kayhayen/gists{/gist_id}","starred_url":"https://api.github.com/users/kayhayen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayhayen/subscriptions","organizations_url":"https://api.github.com/users/kayhayen/orgs","repos_url":"https://api.github.com/users/kayhayen/repos","events_url":"https://api.github.com/users/kayhayen/events{/privacy}","received_events_url":"https://api.github.com/users/kayhayen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-04-23T22:28:12Z","updated_at":"2018-05-12T07:33:41Z","closed_at":null,"author_association":"NONE","body":"Moving an old interesting issue from the nuitka [mailing list](https://www.freelists.org/post/nuitka-dev/PyQt5-QML-standalone-not-working,3) here. If you ask me, posting issues at github feels really good and the UI is really nice and cozy, the other mailing list is just... well, \"a very unfriendly and cold way to post issues\", sorry :'D\r\n\r\nAnyway, here's the steps you need to do if you want to run that qml test using nuitka+virtualenv:\r\n\r\n - git clone https://github.com/Siecje/qml-testing\r\n - d:\\software\\python364_32\\Scripts\\virtualenv.exe --python=d:\\software\\python364_32\\python.exe venv\r\n - venv\\Scripts\\activate\r\n - pip install pyqt5 nuitka\r\n - set path=D:\\sources\\personal\\python\\apps\\nuitka_tests\\pyqt\\qml-testing\\venv\\Lib\\site-packages\\PyQt5\\Qt\\bin;%path%\r\n - nuitka3 main.py --show-progress --recurse-all --standalone --plugin-enable=qt-plugins\r\n - cp *.qml *.js main.dist\r\n - set QML2_IMPORT_PATH=D:\\sources\\personal\\python\\apps\\nuitka_tests\\pyqt\\qml-testing\\venv\\Lib\\site-packages\\PyQt5\\Qt\\qml\r\n\r\nIf you adjust the hardcoded paths (they point out to my local paths) you should be able to get a running main.exe, now, what's the problem here?\r\n\r\nThe QML dlls are not being bundled with nuitka and as you can see I'm setting the env.var to use my local ones, why is this?"},"comment":{"url":"https://api.github.com/repos/kayhayen/Nuitka/issues/comments/388537045","html_url":"https://github.com/kayhayen/Nuitka/issues/76#issuecomment-388537045","issue_url":"https://api.github.com/repos/kayhayen/Nuitka/issues/76","id":388537045,"user":{"login":"kayhayen","id":4226920,"avatar_url":"https://avatars1.githubusercontent.com/u/4226920?v=4","gravatar_id":"","url":"https://api.github.com/users/kayhayen","html_url":"https://github.com/kayhayen","followers_url":"https://api.github.com/users/kayhayen/followers","following_url":"https://api.github.com/users/kayhayen/following{/other_user}","gists_url":"https://api.github.com/users/kayhayen/gists{/gist_id}","starred_url":"https://api.github.com/users/kayhayen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayhayen/subscriptions","organizations_url":"https://api.github.com/users/kayhayen/orgs","repos_url":"https://api.github.com/users/kayhayen/repos","events_url":"https://api.github.com/users/kayhayen/events{/privacy}","received_events_url":"https://api.github.com/users/kayhayen/received_events","type":"User","site_admin":false},"created_at":"2018-05-12T07:33:41Z","updated_at":"2018-05-12T07:33:41Z","author_association":"OWNER","body":"No, I did not make it work. I just shared my observations. There is two approaches, making workarounds, then facing another issue, potentially caused by the workaround, then reaching a point, where people can't go on. I typically get a report of the later. That situation is then barely interesting to me, the first bug actually is.\r\n\r\nDid you try copying the \"qml\" directory as indicated before? I believe it is at least part of your problem, as usual more things might pop up. No, I am not trying it myself once I reached sufficient reason to believe it will improve things, and there is a user to try it, and to get motivated to make the changes necessary to incorporate into Nuitka.\r\n\r\nActually i didn't even attempt this test case myself yet. I saw no reason to, as the missing \"qml\" directory is pretty obviously part of the problem."}}
{"actor":{"display_login":"kayhayen"}}