Cross Platform Development (MinGW)
K Y Dehlvi last edited by
Re: Cross Platform Development
A little bit of confusion. As the earlier post, I have successfully compiled a project(TWAIN Sample for Windows and Linux) in Windows 10, Qt 5 environment using VC 17 Compiler and minGW 7 and it's working on windows.
Now the question is when copying this MinGW code on ubuntu 16.4 using GCC main.o it gives the error.
to resolve the issue I guess to install MinGW and related components but still not working ... please help to build a cross-platform application.
Hi and welcome to the forums
" main.o it gives the error."
What error? You have to provide code and exact error as else we cannot help.
- to resolve the issue I guess to install MinGW and related components but still not working
What ? On linux, there is GCC. Mingw Is gcc ported to windows !
So not sure what you installed.
@K-Y-Dehlvi Just rebuild your project from source on Linux.
MinGW is GCC port for Windows and usually generates binaries for Windows. Cross compiling from Windows to Linux is possible, but it is way easier to simply build on Linux.