BobGelashvili
BobGelashvili

Reputation: 61

C++ qt programming, windows and linux

If I write a program in C++ using Qt on windows, can I run the program on Linux (not run .exe, but use the source code)?

P.S. I don't mean using wine

Upvotes: 0

Views: 190

Answers (1)

TheDarkKnight
TheDarkKnight

Reputation: 27611

If you use just the Qt framework, without any platform specific code, you will be able to compile that code on each platform. You will not, for example, be able to run the compiled binary from one platform directly on another, such as the Windows executable on Linux.

Upvotes: 5

Related Questions