[Interest] Qt5.4 and Cygwin with Mingw
Tamás Nagy
tamas.nagy.001 at gmail.com
Fri Mar 27 14:30:58 CET 2015
Hi,
Toolchain Cygwin is set as written here:
http://doc.qt.digia.com/qtcreator-2.3/creator-tool-chains.html
include finds the path:
#include <sys/types.h>
If I hover the mouse over it in Qt Creator, I see a path that is valid,
and I have found the proper file there.
In the .pro file I have:
win32:CONFIG(release, debug|release): LIBS +=
-L$$PWD/../../../../fltk-1.3.3/lib/ -lfltk -LC:/cygwin/usr/include/
-LC:/cygwin/usr/include/sys
else:win32:CONFIG(debug, debug|release): LIBS +=
-L$$PWD/../../../../fltk-1.3.3/lib/ -lfltkd -LC:/cygwin/usr/include/
-LC:/cygwin/usr/include/sys
else:unix: LIBS += -L$$PWD/../../../../fltk-1.3.3/lib/ -lfltk
-LC:/cygwin/usr/include/ -LC:/cygwin/usr/include/sys
INCLUDEPATH += $$PWD/../../../../fltk-1.3.3/FL
INCLUDEPATH += C:/cygwin/usr/include/
INCLUDEPATH += C:/cygwin/usr/include/sys/
DEPENDPATH += $$PWD/../../../../fltk-1.3.3/FL
QMAKE_CXXFLAGS = -U__STRICT_ANSI__
In spite of these I get the errors:
using ::wcstold has not been declared
'pthread_attr_t' does not name a type
'pthread_spinlock' ...
There are about 300 errors like this.
Tamas
2015-03-27 10:08 GMT+01:00 Tamás Nagy <tamas.nagy.001 at gmail.com>:
> Hi,
>
> I tried this:
>
> http://doc.qt.digia.com/qtcreator-2.3/creator-tool-chains.html
>
> In spite of this, I have a lot of errors like:
>
> using ::wcstold has not been declared
>
> 'pthread_attr_t' does not name a type
> 'pthread_spinlock' ...
>
> There are about 300 errors like this.
>
> Tamas
More information about the Interest
mailing list