Qt migration from windows to linux.
-
Hello i want to ask whether the code which is developed in windows environment will work on linux environment?
I am not talking about deployment or to be specific i am not talking about .exe file of windows.
I just simply want to know whether the code developed in Qt creator in windows will be working fine if i use same project in linux environment. -
Yes, Qt will compile on all supported platforms, including Linux (same code will work for macOS, Android and iOS, too).
If you use some platform-specific APIs, you'll need to hide them behind an ifdef, though.
-
There may be minor issues for watch out for, e.g. based on the fact that file and path names are case sensitive in Linux, but not in Windows.
-
@Asperamanca said in Qt migration from windows to linux.:
There may be minor issues for watch out for, e.g. based on the fact that file and path names are case sensitive in Linux, but not in Windows.
argh indeed, that one has hit me many times :D