Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Build Qt 5.0.1 with PostgreSQL 9.2.2 - problem!

$
0
0
Hello! Sorry for my bad English, I use a translator. It’s all my fault. Problem: Build Qt 5.0.1 with PostgreSQL 9.2.2 Made in the following order: 1) Download Qt SDK – http://releases.qt-project.org/qt5/5.0.1/qt-windows-opensource-5.0.1-mingw47_32-x86-offline.exe 2) Download Qt sources – http://releases.qt-project.org/qt5/5.0.1/single/qt-everywhere-opensource-src-5.0.1.zip 3) Download PostgreSQL – http://get.enterprisedb.com/postgresql/postgresql-9.2.2-1-windows.exe 4) Download Perl – http://downloads.activestate.com/ActivePerl/releases/5.16.2.1602/ActivePerl-5.16.2.1602-MSWin32-x86-296513.msi 5) Download Python – http://www.python.org/ftp/python/2.7.3/python-2.7.3.msi Install to: 1) C:\Qt 2) C:\Qt\qt-everywhere-opensource-src-5.0.1 3) С:\PgSQL-9.2 4) C:\Perl 5) C:\Python27 Add to PATH: PATH=C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin;C:\Qt\Qt5.0.1\Tools\MinGW\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Python27;C:\PgSQL-9.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem Сonfiguration: cd C:\Qt\qt-everywhere-opensource-src-5.0.1 configure.bat -debug-and-release -opensource -plugin-sql-psql -opengl desktop -no-icu -platform win32-g++ -I C:\PgSQL-9.2\include -L C:\PgSQL-9.2\lib Build: mingw32-make Result: ================================================================ … In file included from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/i686-w64-mingw32/bits/ gthr-default.h:41:0, from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/i686-w64-mingw32/bits/ gthr.h:150, from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/ext/atomicity.h:34, from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/bits/basic_string.h:41 , from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/string:54, from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/random:41, from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/bits/stl_algo.h:67, from c:\qt\qt5.0.1\tools\mingw\bin\../lib/gcc/i686-w64-mingw32/4.7.2/include/c++/algorithm:63, from ..\..\..\include/QtCore/../../src/corelib/global/qglobal.h:80, from ..\..\..\include/QtCore/qglobal.h:1, from ..\..\..\include/QtCore/../../src/corelib/tools/qchar.h:45, from ..\..\..\include/QtCore/qchar.h:1, from ..\..\..\include/QtCore/../../src/corelib/tools/qstring.h:45, from ..\..\..\include/QtCore/qstring.h:1, from ..\..\..\include/QtCore/../../src/corelib/codecs/qtextcodec.h:45, from ..\..\..\include/QtCore/qtextcodec.h:1, from ..\..\corelib\codecs\qlatincodec_p.h:56, from ..\..\corelib\codecs\qlatincodec.cpp:42: C:\PgSQL-9.2\include/pthread.h:307:8: error: redefinition of ‘struct timespec’ … … Error! ================================================================ What am I doing wrong???

Viewing all articles
Browse latest Browse all 2113

Trending Articles