Qt-interest Archive, February 2007
Qt and MFC with Mainsoft
Pages: Prev | 1 | 2 | Next
Message 16 in thread
Pankaj Chawla schrieb:
> I am not sure if that will work
> using QWinHost as QWinHost will probably help
> him host a dialog created in WinAPI and not using
> MFC.
Isn't MFC just a wrapper around Win32 API? However, I pray I'll never
have to do something similar...
Martin
--
[ signature omitted ]
Message 17 in thread
In that sense even QT is also a wrapper around the Win32 API. Infact any
toolkit will always have to be a wrap the Win32 API functionality only. The
thing about toolkits like QT and MFC is that they abstract the Win32 API
functionality into objects and the real problem is actually to get these
objects to talk together. That is exactly what the QT-MFC migration path
provides a bridge for QT objects to talk to MFC. I suspect there is not
reverse bridge.
Thanks
Pankaj
On 2/8/07, Martin Gebert <Martin.Gebert@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Pankaj Chawla schrieb:
> > I am not sure if that will work
> > using QWinHost as QWinHost will probably help
> > him host a dialog created in WinAPI and not using
> > MFC.
>
> Isn't MFC just a wrapper around Win32 API? However, I pray I'll never
> have to do something similar...
>
> Martin
>
> --
> To mail me in private, please remove the -NOSPAM- part from the adress
> above.
>
> Ultimate Truths in software development # 2:
> RTFM
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
--
[ signature omitted ]
Message 18 in thread
Did it get working ?
The Qt?MFC framework seems to be ported to Linux, but
I am having issues getting mainsoft stitch it all together :-(
-----Original Message-----
From: Scott Aron Bloom [mailto:scott@xxxxxxxxxxxx]
Sent: Thursday, February 08, 2007 10:36 AM
To: Prateek Tiwari; QtList
Subject: RE: Qt and MFC with Mainsoft
I haven't gotten it working yet :( But yes, I am porting the QT/MFC
framework under mainsoft.
Scott
> -----Original Message-----
> From: Prateek Tiwari [mailto:ptiwari@xxxxxxxxxxx]
> Sent: Wednesday, February 07, 2007 8:56 PM
> To: Scott Aron Bloom; QtList
> Subject: RE: Qt and MFC with Mainsoft
>
> Ok. But I still wonder how do you link together QT dll and MFC app
using
> mainsoft ?
> Have you also ported the QT/MFC migration framework on UNIX ?
>
> I do not think QT/MFC migration framework on UNIX is supported by
> Trolltech..
>
> --Prateek
>
> -----Original Message-----
> From: Scott Aron Bloom [mailto:scott@xxxxxxxxxxxx]
> Sent: Wednesday, February 07, 2007 10:48 PM
> To: Prateek Tiwari; QtList
> Subject: RE: Qt and MFC with Mainsoft
>
> Esssentially... yes to both... We are still under development... but
the
> test apps we have created, use QMake to create the QT side, in a stand
> alone DLL, and mainsoft to link it all together.
>
> Scott
>
> > -----Original Message-----
> > From: Prateek Tiwari [mailto:ptiwari@xxxxxxxxxxx]
> > Sent: Wednesday, February 07, 2007 8:59 AM
> > To: Scott Aron Bloom; QtList
> > Subject: RE: Qt and MFC with Mainsoft
> >
> > So you mean that for the QT dll you would have to do a Qmake on UNIX
> and
> > for the
> > MFC app you will have to do a mainsoft make ? and the QT dll built
> using
> >
> > Qmake will be linked to the mainsoft built application ?
> >
> > Is that how it is ? Or you build QT/windows using Mainsoft ?
> >
> > --Prateek
> >
> > -----Original Message-----
> > From: Scott Aron Bloom [mailto:scott@xxxxxxxxxxxx]
> > Sent: Wednesday, February 07, 2007 10:00 PM
> > To: Justin Noel; QtList
> > Subject: RE: Qt and MFC with Mainsoft
> >
> > > Prateek Tiwari wrote:
> > > > let me clarify my question.
> > > >
> > > > Suppose you have a MFC application on windows and to use that
app
> on
> >
> > > > UNIX you port it using mainsoft.
> > > > Now you want to write a plugin dll for that application in QT.
> > > >
> > > > The Qt/MFC migration framework allows us to do so.
> > > >
> > > > What I want to ask is will this MFC application and QT dll,
which
> is
> >
> > > > written on windows, be ported back to UNIX using mainsoft ? or
how
>
> > > > will this combo work
> > for
> > > > UNIX ?
> > > >
> > > >
> > >
> > > I do not think you are going to find much expertise in this area.
> > > However, while it sounds possible to build Qt/Windows under
> MainWin
> > > since it offers very good MFC compat on X11, I'm going to assume
> that
> > it
> > > would be entirely unsupported by Trolltech. Much like Qt/X11
under
> > > Cygwin.
> > >
> > > --Justin
> >
> > I happen to be working on a similar issue at my company... Its be a
> very
> > trying experience to say the least... Mainly due to the limitations
of
>
> > the MainWin port (always 1-2 years behind current MFC)
> >
> > Also, it makes for a very completed build system... Besides QMake,
you
>
> > now need the mainsoft make.
> >
> > Scott
> >
> > --
> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
with
>
> > "unsubscribe" in the subject or the body.
> > List archive and information:
http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]