{"action":"created","issue":{"url":"https://api.github.com/repos/baumgarr/Nixnote2/issues/73","labels_url":"https://api.github.com/repos/baumgarr/Nixnote2/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/baumgarr/Nixnote2/issues/73/comments","events_url":"https://api.github.com/repos/baumgarr/Nixnote2/issues/73/events","html_url":"https://github.com/baumgarr/Nixnote2/issues/73","id":110941908,"number":73,"title":"Migrating to Qt5: \"Cannot create children for a parent that is in a different thread.\"","user":{"login":"michaelcadilhac","id":5656935,"avatar_url":"https://avatars.githubusercontent.com/u/5656935?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcadilhac","html_url":"https://github.com/michaelcadilhac","followers_url":"https://api.github.com/users/michaelcadilhac/followers","following_url":"https://api.github.com/users/michaelcadilhac/following{/other_user}","gists_url":"https://api.github.com/users/michaelcadilhac/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcadilhac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcadilhac/subscriptions","organizations_url":"https://api.github.com/users/michaelcadilhac/orgs","repos_url":"https://api.github.com/users/michaelcadilhac/repos","events_url":"https://api.github.com/users/michaelcadilhac/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcadilhac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/baumgarr/Nixnote2/labels/Pending%20User%20Feedback","name":"Pending User Feedback","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2015-10-12T09:41:53Z","updated_at":"2015-10-31T18:35:57Z","closed_at":null,"body":"Hi there;\r\n\r\nI tried migrating Nixnote2 to Qt5, which, as a matter of fact, is my first attempt at doing anything Qt.  Making the whole project compile was not hard[1], but well, Nixnote does not work anymore.  The recurring error is of the form:\r\n`Cannot create children for a parent that is in a different thread.`\r\nand the shared objects (especially the resource table) is not populated (see: http://michael.cadilhac.name/public/nixnote-qt5-log.txt created with TRACE and starting from a fresh configuration, doing a sync).\r\n\r\nIs there anyone with the proper set of skills who would be able to help me migrating Nixnote2?\r\n\r\n[1]: See http://michael.cadilhac.name/public/nixnote-qt5.diff ."},"comment":{"url":"https://api.github.com/repos/baumgarr/Nixnote2/issues/comments/152761074","html_url":"https://github.com/baumgarr/Nixnote2/issues/73#issuecomment-152761074","issue_url":"https://api.github.com/repos/baumgarr/Nixnote2/issues/73","id":152761074,"user":{"login":"michaelcadilhac","id":5656935,"avatar_url":"https://avatars.githubusercontent.com/u/5656935?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcadilhac","html_url":"https://github.com/michaelcadilhac","followers_url":"https://api.github.com/users/michaelcadilhac/followers","following_url":"https://api.github.com/users/michaelcadilhac/following{/other_user}","gists_url":"https://api.github.com/users/michaelcadilhac/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcadilhac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcadilhac/subscriptions","organizations_url":"https://api.github.com/users/michaelcadilhac/orgs","repos_url":"https://api.github.com/users/michaelcadilhac/repos","events_url":"https://api.github.com/users/michaelcadilhac/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcadilhac/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T18:35:57Z","updated_at":"2015-10-31T18:35:57Z","body":"> Let me know what I've screwed up.\r\n\r\nAhah, well :-)  in `nsqlquery.cpp`, the `#endif` is misplaced, but that's all.  The qt4 to qt5 patch is there: http://michael.cadilhac.name/private/nixnote2-qt5.diff\r\nYou may want to provide two .pro files, though there may be a better logic.  Also, I did not ship the diff for the autogenerated Makefiles.\r\n\r\nThanks!"}}