Qt-interest Archive, March 2002
djgpp-winnt-problems
Message 1 in thread
Hallo!
I have a problem:
I try to compile a application with gxx (djgpp) on a winnt-box in cmd
I get the following error:
qglobal.h:305:2: #error "Qt requires Win32 and does not work with
Windows 3.x
what's going wrong?
--
[ signature omitted ]
Message 2 in thread
Hi,
> I have a problem:
>
> I try to compile a application with gxx (djgpp) on a winnt-box in cmd
>
> I get the following error:
>
> qglobal.h:305:2: #error "Qt requires Win32 and does not work with
> Windows 3.x
>
> what's going wrong?
I guess djgpp defines
__MSDOS__ or _MSDOS or MSDOS
and Qt interprets it as Windows 3.x.
You could modify src/tools/qglobal.h accordingly, but I don't
think this compiler is able to build Qt/Win, maybe Qt/X11 if
you have a working X11 environment, but then you really need
to modify src/tools/qglobal.h.
Dimitri
Message 3 in thread
Hallo!
On Sat, Mar 16, 2002 at 12:39:15PM +0100, Dimitri Papadopoulos wrote:
> Hi,
>
> > I have a problem:
> >
> > I try to compile a application with gxx (djgpp) on a winnt-box in cmd
> >
> > I get the following error:
> >
> > qglobal.h:305:2: #error "Qt requires Win32 and does not work with
> > Windows 3.x
> >
> > what's going wrong?
>
> I guess djgpp defines
> __MSDOS__ or _MSDOS or MSDOS
> and Qt interprets it as Windows 3.x.
>
> You could modify src/tools/qglobal.h accordingly, but I don't
> think this compiler is able to build Qt/Win, maybe Qt/X11 if
> you have a working X11 environment, but then you really need
> to modify src/tools/qglobal.h.
>
I try it but there are many errors. But the applications works when
compiling it with VC++.
> Dimitri
Where can i change it or which flags i use. I only want to compile my linux-source-code on a windows-box. I want to write OpenSource-Hallo-Applications and do not want to buy VC++.
--
[ signature omitted ]