{"action":"created","issue":{"url":"https://api.github.com/repos/waf-project/waf/issues/1858","repository_url":"https://api.github.com/repos/waf-project/waf","labels_url":"https://api.github.com/repos/waf-project/waf/issues/1858/labels{/name}","comments_url":"https://api.github.com/repos/waf-project/waf/issues/1858/comments","events_url":"https://api.github.com/repos/waf-project/waf/issues/1858/events","html_url":"https://github.com/waf-project/waf/issues/1858","id":190938178,"number":1858,"title":"Qt5 tool tries to link .dll.a files in non-existant C:/repo/mingw-w64-qt5/src/x86_64/qtbase/lib/ dir","user":{"login":"jhasse","id":80071,"avatar_url":"https://avatars.githubusercontent.com/u/80071?v=3","gravatar_id":"","url":"https://api.github.com/users/jhasse","html_url":"https://github.com/jhasse","followers_url":"https://api.github.com/users/jhasse/followers","following_url":"https://api.github.com/users/jhasse/following{/other_user}","gists_url":"https://api.github.com/users/jhasse/gists{/gist_id}","starred_url":"https://api.github.com/users/jhasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhasse/subscriptions","organizations_url":"https://api.github.com/users/jhasse/orgs","repos_url":"https://api.github.com/users/jhasse/repos","events_url":"https://api.github.com/users/jhasse/events{/privacy}","received_events_url":"https://api.github.com/users/jhasse/received_events","type":"User","site_admin":false},"labels":[{"id":414530128,"url":"https://api.github.com/repos/waf-project/waf/labels/incomplete","name":"incomplete","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-22T08:44:04Z","updated_at":"2016-11-24T15:45:28Z","closed_at":null,"body":"Using the Qt5 tool with MSYS2 I'm getting linker errors like:\r\n\r\n```\r\ng++.exe: error: C:/repo/mingw-w64-qt5/src/x86_64/qtbase/lib/libQt5Gui.dll.a: No such file or directory\r\n```\r\n\r\nI think the folder `C:/repo/mingw-w64-qt5/src` is the path where Qt5 was compilied from source and `C:/repo` is https://github.com/Alexpux/MINGW-packages.\r\n\r\nI haven't found out why this file gets added (`-lQt5Gui` is enough and works). This is my workaround for the moment:\r\n\r\n```python\r\n\tif sys.platform == 'msys':\r\n\t\tctx.env.LINKFLAGS_QT5GUI = ''\r\n\t\tctx.env.LINKFLAGS_QT5CORE = ''\r\n\t\tctx.env.LINKFLAGS_QT5WIDGETS = ''\r\n```"},"comment":{"url":"https://api.github.com/repos/waf-project/waf/issues/comments/262804185","html_url":"https://github.com/waf-project/waf/issues/1858#issuecomment-262804185","issue_url":"https://api.github.com/repos/waf-project/waf/issues/1858","id":262804185,"user":{"login":"jhasse","id":80071,"avatar_url":"https://avatars.githubusercontent.com/u/80071?v=3","gravatar_id":"","url":"https://api.github.com/users/jhasse","html_url":"https://github.com/jhasse","followers_url":"https://api.github.com/users/jhasse/followers","following_url":"https://api.github.com/users/jhasse/following{/other_user}","gists_url":"https://api.github.com/users/jhasse/gists{/gist_id}","starred_url":"https://api.github.com/users/jhasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhasse/subscriptions","organizations_url":"https://api.github.com/users/jhasse/orgs","repos_url":"https://api.github.com/users/jhasse/repos","events_url":"https://api.github.com/users/jhasse/events{/privacy}","received_events_url":"https://api.github.com/users/jhasse/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T15:45:28Z","updated_at":"2016-11-24T15:45:28Z","body":"I've attached config.log and _cache.py from this minimal example: https://github.com/jhasse/qt-waf-example\r\n[build.zip](https://github.com/waf-project/waf/files/611708/build.zip)\r\n\r\nI've just found: https://github.com/Alexpux/MINGW-packages/issues/1670\r\nSo this might actually be a MSYS2 problem, feel free to close this if you think so. Sorry :("}}
{"actor":{"display_login":"jhasse"}}