Qt-interest Archive, February 2007
QT/MFC/Mainsoft....
Message 1 in thread
Hi
I have an MFC based application that I port to Solaris and LInux
using Mainsoft Mainwin. For those who dont know Mainwin,
Mainwin provides the full Win32/MFC layer on Unix platform
and one just needs to complte the MFC code and link in the
Mainwin libraries and your MFC based application can run on
Unix platforms. My problem is that going forward I want to
adopt QT and develop supporting windows for my main MFC
application in QT. I believe it can be easily done using the
MFC-QT bridge that allows my application to have both MFC
and QT components and works as a unified application on Windows.
My problem is will it also run the same way when I go back to
Unix. I can compile my main MFC application using Mainwin and
compile my QT support windows uing QT but will the MFC-QT
bridge be available on Unix and if yes how? Is there any other
way I can make this configuration of having a mixed MFC/QT
development work seamlessly on both Windows and Unix.
Thanks
Pankaj
--
[ signature omitted ]
Message 2 in thread
"Pankaj Chawla" <pankaj013@xxxxxxxxx> wrote in message
news:8d177b0c0702070942g6abeba55vd5bad72decf78c84@xxxxxxxxxxxxxxxxx
> Hi
>
> I have an MFC based application that I port to Solaris and LInux
> using Mainsoft Mainwin. For those who dont know Mainwin,
> Mainwin provides the full Win32/MFC layer on Unix platform
> and one just needs to complte the MFC code and link in the
> Mainwin libraries and your MFC based application can run on
> Unix platforms. My problem is that going forward I want to
> adopt QT and develop supporting windows for my main MFC
> application in QT. I believe it can be easily done using the
> MFC-QT bridge that allows my application to have both MFC
> and QT components and works as a unified application on Windows.
> My problem is will it also run the same way when I go back to
> Unix. I can compile my main MFC application using Mainwin and
> compile my QT support windows uing QT but will the MFC-QT
> bridge be available on Unix and if yes how? Is there any other
> way I can make this configuration of having a mixed MFC/QT
> development work seamlessly on both Windows and Unix.
>
> Thanks
> Pankaj
Both Qt and the MFC-Qt bride code sit on top of the Win32 API, so if
Mainwin is worth anything then it should just work.
Running MFC code on Unix is not possible without Mainwin or a similar
technology, unless you want to rewrite your MFC code (using a cross
platform API like Qt).
Volker
--
[ signature omitted ]