How to setup visual studio on windows for remote linux build with Qt

Spread the love

Pretty much what question says. I need to setup Qt on Ubuntu server and compile C++ code (for Ubuntu) from Visual Studio (2019) running on Windows. I’ve installed Qt Visual Studio Tools and I can compile and run the following code using the Linux development with C++ Toolset:
#include <iostream>

int main(int argc, char* argv[]) {
std::cout << “I’m here, I’m deer” << std::endl;
return 0;

I also installed Qt on server: sudo apt-get install qt5-default (from Qt docs)
As of a next part, I don’t know what to do. When I go to Extensions > Qt VS Tools > Qt Options > Qt Versions > Add, it asks me Version name and Path. What should I enter there / do next?
Because I can’t even #include <QWebView>. Intellisense and compiler give me the same error there.
Not sure if it matters, but I’m on Windows 10 working with 18.04 Ubuntu

X ITM Cloud News


Leave a Reply

Next Post

Ubuntu 20.04 Palemoon takes 26 seconds to open

Fri Sep 11 , 2020
Spread the love          Ubuntu 20.04 fresh install, but Palemoon takes 26 seconds to start! Have removed and re-installed, but still 26 seconds. Other than move to a different OS is there anything I can do to get back to the 18.04 speedy start for Palemoon? X ITM Cloud News

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware