{"id":14345,"date":"2017-04-14T17:55:21","date_gmt":"2017-04-15T01:55:21","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vcblog\/?p=14345"},"modified":"2019-02-18T17:48:36","modified_gmt":"2019-02-18T17:48:36","slug":"bring-your-existing-qt-projects-to-visual-studio","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/bring-your-existing-qt-projects-to-visual-studio\/","title":{"rendered":"Bring your existing Qt projects to Visual Studio"},"content":{"rendered":"<p><a href=\"https:\/\/www.qt.io\/qt-for-application-development\/\"><strong>Qt framework<\/strong><\/a> is an ever growing cross-platform C++ framework, ideal for building desktop, mobile, and even embedded solutions. While you can use CMake to target Qt (if you do, you should read more about the <a href=\"https:\/\/aka.ms\/cmake\">Visual Studio support for CMake<\/a>), Qt also provides its own Qt-optimized build system called qmake.<\/p>\n<p>If your project is using qmake, this article covers the high-level steps to follow to import your projects into Visual Studio. You can read about other C++ project types in the guide for <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2017\/04\/14\/bring-your-cpp-code-to-visual-studio\/\">Bringing your C++ code to Visual Studio<\/a>.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/9\/2019\/02\/bringcode-qt.png\" alt=\"bringcode-qt\" width=\"911\" height=\"596\" class=\"alignnone size-full wp-image-14386\" \/><\/p>\n<p><strong>Step 1. Install the QT Visual Studio Extension.<\/strong> From the Marketplace, install the <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=TheQtCompany.QtVisualStudioTools2015\">Qt Visual Studio Tools<\/a> extension.<\/p>\n<p><strong>Step 2. Import your .pro projects into Visual Studio.<\/strong> To do that, select the <strong>Qt VS Tools<\/strong> &gt; <strong>Open Qt Project File (.pro)<\/strong> to let the extension create a VS solution and project from your existing Qt .pro file. More information on this is available in the Qt docs covering <a href=\"http:\/\/doc.qt.io\/qtvstools\/qtvstools-managing-projects.html#importing-and-exporting-projects\">Qt project management in Visual Studio<\/a>.<\/p>\n<h3>What\u2019s next<\/h3>\n<p>If you\u2019re new to Visual Studio, learn more by reading the <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/2017\/04\/21\/getting-started-with-visual-studio-for-c-and-cpp-development\/\">Getting Started with Visual Studio for C and C++ Developers<\/a> topic and the rest of the posts in this <a href=\"https:\/\/blogs.msdn.microsoft.com\/vcblog\/category\/new-user\/\">Getting Started series aimed at C++ users that are new to Visual Studio<\/a>. <a href=\"https:\/\/aka.ms\/vs2017cpp\">Download Visual Studio 2017<\/a> today, try it out and <a href=\"https:\/\/docs.microsoft.com\/en-us\/visualstudio\/ide\/how-to-report-a-problem-with-visual-studio-2017\">share your feedback<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Qt framework is an ever growing cross-platform C++ framework, ideal for building desktop, mobile, and even embedded solutions. While you can use CMake to target Qt (if you do, you should read more about the Visual Studio support for CMake), Qt also provides its own Qt-optimized build system called qmake. If your project is using [&hellip;]<\/p>\n","protected":false},"author":308,"featured_media":35994,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[280],"tags":[],"class_list":["post-14345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-new-user"],"acf":[],"blog_post_summary":"<p>Qt framework is an ever growing cross-platform C++ framework, ideal for building desktop, mobile, and even embedded solutions. While you can use CMake to target Qt (if you do, you should read more about the Visual Studio support for CMake), Qt also provides its own Qt-optimized build system called qmake. If your project is using [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/14345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/308"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=14345"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/14345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/35994"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=14345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=14345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=14345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}