{"action":"created","issue":{"url":"https://api.github.com/repos/Kitware/fletch/issues/440","repository_url":"https://api.github.com/repos/Kitware/fletch","labels_url":"https://api.github.com/repos/Kitware/fletch/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/Kitware/fletch/issues/440/comments","events_url":"https://api.github.com/repos/Kitware/fletch/issues/440/events","html_url":"https://github.com/Kitware/fletch/pull/440","id":359646145,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1MDkwOTM3","number":440,"title":"Set library path when building Qt","user":{"login":"mwoehlke-kitware","id":6474409,"node_id":"MDQ6VXNlcjY0NzQ0MDk=","avatar_url":"https://avatars3.githubusercontent.com/u/6474409?v=4","gravatar_id":"","url":"https://api.github.com/users/mwoehlke-kitware","html_url":"https://github.com/mwoehlke-kitware","followers_url":"https://api.github.com/users/mwoehlke-kitware/followers","following_url":"https://api.github.com/users/mwoehlke-kitware/following{/other_user}","gists_url":"https://api.github.com/users/mwoehlke-kitware/gists{/gist_id}","starred_url":"https://api.github.com/users/mwoehlke-kitware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwoehlke-kitware/subscriptions","organizations_url":"https://api.github.com/users/mwoehlke-kitware/orgs","repos_url":"https://api.github.com/users/mwoehlke-kitware/repos","events_url":"https://api.github.com/users/mwoehlke-kitware/events{/privacy}","received_events_url":"https://api.github.com/users/mwoehlke-kitware/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-09-12T20:46:18Z","updated_at":"2018-09-13T14:37:03Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Kitware/fletch/pulls/440","html_url":"https://github.com/Kitware/fletch/pull/440","diff_url":"https://github.com/Kitware/fletch/pull/440.diff","patch_url":"https://github.com/Kitware/fletch/pull/440.patch"},"body":"Because Qt builds tools that are used to build other parts of Qt, some of which may need libraries that Qt was built against, we may need to fiddle with the environment so that these libraries can be found. Add logic to do that for Windows. Also, tweak the GDAL logic that was doing something similar to use `cmake -E env` rather than `env` to do its environment manipulation (this is more portable and easier to specify)."},"comment":{"url":"https://api.github.com/repos/Kitware/fletch/issues/comments/421030240","html_url":"https://github.com/Kitware/fletch/pull/440#issuecomment-421030240","issue_url":"https://api.github.com/repos/Kitware/fletch/issues/440","id":421030240,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTAzMDI0MA==","user":{"login":"chetnieter","id":4336975,"node_id":"MDQ6VXNlcjQzMzY5NzU=","avatar_url":"https://avatars3.githubusercontent.com/u/4336975?v=4","gravatar_id":"","url":"https://api.github.com/users/chetnieter","html_url":"https://github.com/chetnieter","followers_url":"https://api.github.com/users/chetnieter/followers","following_url":"https://api.github.com/users/chetnieter/following{/other_user}","gists_url":"https://api.github.com/users/chetnieter/gists{/gist_id}","starred_url":"https://api.github.com/users/chetnieter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chetnieter/subscriptions","organizations_url":"https://api.github.com/users/chetnieter/orgs","repos_url":"https://api.github.com/users/chetnieter/repos","events_url":"https://api.github.com/users/chetnieter/events{/privacy}","received_events_url":"https://api.github.com/users/chetnieter/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T14:37:03Z","updated_at":"2018-09-13T14:37:03Z","author_association":"MEMBER","body":"I wonder if this is an issue with Qt5. It looks we tell Qt to use the system libpng [here](https://github.com/Kitware/fletch/blob/master/CMake/External_Qt.cmake#L81-L94) but we then explicitly tell it to look in the fletch install directory. However looking in `config.log` for Qt I found this --\r\n\r\n```\r\nTrying source 0 (type pkgConfig) of library libpng ...\r\n+ /usr/bin/pkg-config --exists --silence-errors libpng\r\n+ /usr/bin/pkg-config --modversion libpng\r\n> 1.2.54\r\n+ /usr/bin/pkg-config --libs-only-L libpng\r\n+ /usr/bin/pkg-config --libs-only-l libpng\r\n> -lpng12\r\n+ /usr/bin/pkg-config --cflags libpng\r\n> -I/usr/include/libpng12\r\n```"}}
{"actor":{"display_login":"chetnieter"}}