LIOR
LIOR

Reputation: 177

Build QT program for linux target from windows

Is it possible to build app from windows for linux target?

Also, is it possible to debug linux target with windows machine?

Upvotes: 1

Views: 246

Answers (1)

Former contributor
Former contributor

Reputation: 2576

You may install Windows Subsystem for Linux on Windows 10 (Fall Creators Update and later). Any Linux distribution available from the Microsoft Store would be adequate. Then, add the development environment (compilers, development libraries) to you Linux subsystem, and you may build your project for Linux using the bash shell. This would be only slightly more comfortable than installing a Linux virtual machine, but with the inconvenience that GUI programs don't run in WSL. For running and debugging you will need a virtual machine.

Upvotes: 1

Related Questions