{"id":454,"date":"2009-08-23T12:15:49","date_gmt":"2009-08-23T16:15:49","guid":{"rendered":"http:\/\/www.rakkar.org\/blog\/?p=454"},"modified":"2009-08-23T12:15:49","modified_gmt":"2009-08-23T16:15:49","slug":"qt-visual-studio-integration-doesnt-work-how-to-fix","status":"publish","type":"post","link":"https:\/\/rakkar.org\/blog\/index.php\/2009\/08\/23\/qt-visual-studio-integration-doesnt-work-how-to-fix\/","title":{"rendered":"QT Visual Studio integration doesn&#8217;t work \/ how to fix"},"content":{"rendered":"<p>\t\t\t\tI downloaded the SDK for Windows<br \/>\n<a HREF=\"https:\/\/qt.nokia.com\/downloads\/sdk-windows-cpp\">https:\/\/qt.nokia.com\/downloads\/sdk-windows-cpp<\/a><\/p>\n<p>Then the Visual Studio Add-In<br \/>\n<a HREF=\"https:\/\/qt.nokia.com\/downloads\/visual-studio-add-in\">https:\/\/qt.nokia.com\/downloads\/visual-studio-add-in<\/a><\/p>\n<p>Installed both. Now the 4th or so option in Visual Studio is &#8220;QT&#8221;<\/p>\n<p>You can click create project \/ QT \/ QT Application.<\/p>\n<p><b>However, it doesn&#8217;t work<\/b><br \/>\n<img SRC=\"images\/QTFailure1.jpg\"\/><\/p>\n<p>I read a forum post to click in the file menu QT \/ QT Options. However, if you click add, the OK button to select a file is always disabled.<\/p>\n<p><a HREF=\"http:\/\/www.google.com\/search?q=%22Add+new+qt+version%22+ok+button+disabled&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=org.mozilla:en-US:official&#038;client=firefox-a>Google search for other people with the same problem<\/a><\/p>\n<p>And the <a HREF=\"http:\/\/www.qtcentre.org\/forum\/f-qt-tools-3\/t-problem-using-vs-add-in-21957.html\">Forum Post<\/a> where others give the answer. You have to set two environment variables, and build with mingw<\/p>\n<p>Building QT in MinGW is pretty hard to figure out. So I found a YouTube video on how to do it<br \/>\n<a HREF=\"http:\/\/www.youtube.com\/watch?v=5mswLcSOh-w\">QT + Visual Studio 2005 Part 1\/5<\/a><\/p>\n<p>And it doesn&#8217;t build without errors<br \/>\n<a HREF=\"http:\/\/stackoverflow.com\/questions\/1269021\/compiling-qt-libraries-to-run-with-visual-studio-2008-why-does-nmake-fail\">Unresolved externals<\/a><\/p>\n<p>It&#8217;s great that they give this out for free under the LGPL, but from a sales standpoint this is an <b>Epic Fail<\/b>. It doesn&#8217;t work out of the box, there is no documentation or support on why, and the price is very high. <a HREF=\"https:\/\/qt.nokia.com\/products\/pricing\">$4000 for a license and $2000 for 10 support incidents<\/a>.\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I downloaded the SDK for Windows https:\/\/qt.nokia.com\/downloads\/sdk-windows-cpp Then the Visual Studio Add-In https:\/\/qt.nokia.com\/downloads\/visual-studio-add-in Installed both. Now the 4th or so option in Visual Studio is &#8220;QT&#8221; You can click create project \/ QT \/ QT Application. However, it doesn&#8217;t work I read a forum post to click in the file menu QT \/ QT Options. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/454"}],"collection":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=454"}],"version-history":[{"count":0,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/posts\/454\/revisions"}],"wp:attachment":[{"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rakkar.org\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}