Russian Qt Forum
Апрель 19, 2024, 12:45 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: [1] 2 3   Вниз
  Печать  
Автор Тема: Помогите пожалуйста собрать Qt  (Прочитано 19383 раз)
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« : Август 12, 2015, 12:02 »

Привет, друзья!
Сколько раз ни садился за это дело - всё время не доводил до конца, ибо уставал бороться с ошибками.
Прошу помочь мне разобраться с этой наукой, чтобы в будущем уже не возникало проблем.

Сейчас вновь решил попробовать собрать библиотеку под win8 с использованием компилятора mingw-w64 (x86_64-5.1.0-win32-seh-rt_v4-rev0)
Компилятор я поставил в C:\Program Files, соответственно, уже получил по лицу....
При сборке говорилось, что неизвестно, кто такой C:\Program. Вслед за этим я перетащил mingw в C:\mingw-w64 и добавил его перед PATH.
Попытался сделать рекомендуемое действие
Код:
mingw32-make confclean
Но,
Цитировать
mingw32-make: *** No rule to make target 'confclean'.  Stop.
Ладно, пробую поверх
Код:
PS D:\Qt\qt-everywhere-opensource-src-5.5.0> .\configure.bat -debug-and-release -opensource -make libs -make tools -nomake tests -nomake examples -no-compile-examples -qt-sql-psql -plugin-sql-psql -opengl desktop -no-angle > configure.log
Цитировать
+ cd qtbase
+ D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\configure.bat -top-level -debug-and-release -opensource -make libs -make tools -nomake tests -nomake examples -no-compile-examples -qt-sql-psql -plugin-sql-psql -opengl desktop -no-angle

This is the Qt for Windows Open Source Edition.

You are licensed to use this software under the terms of
the GNU Lesser General Public License (LGPL) version 2.1
or the GNU Lesser General Public License (LGPL) version 3.

Type '3' to view the Lesser GNU General Public License version 3 (LGPLv3).
Type 'L' to view the Lesser GNU General Public License version 2.1 (LGPLv2.1).
Type 'y' to accept this license offer.
Type 'n' to decline this license offer.

Do you accept the terms of the license?
Creating qmake...
mingw32-make: Nothing to be done for 'first'.
Running configuration tests...
Environment:
    INCLUDE=
      Unset
    LIB=
      Unset
    PATH=
      C:\mingw64\bin
      C:\Program Files\mingw-w64\x86_64-5.1.0-win32-seh-rt_v4-rev0\mingw64\bin
      C:\Ruby22-x64\bin
      C:\Perl64\site\bin
      C:\Perl64\bin
      C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler
      C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\compiler
      C:\ProgramData\Oracle\Java\javapath
      C:\Windows\system32
      C:\Windows
      C:\Windows\System32\Wbem
      C:\Windows\System32\WindowsPowerShell\v1.0\
      C:\Program Files (x86)\Skype\Phone\
      C:\Program Files (x86)\Git\cmd
      C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\
      C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
      C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
Configuration:
    pcre
    debug
Qt Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    debug_and_release build_all release
    debug
    c++11
    shared
    system-zlib
    png
    freetype
    harfbuzz
    build_all
    accessibility
    opengl
    audio-backend
    native-gestures
    qpa
    iconv
    concurrent

QMAKESPEC...................win32-g++ (detected)
Architecture................x86_64, features: cx16 mmx sse sse2 sse3
Host Architecture...........x86_64, features: cx16 mmx sse sse2 sse3
Maketool....................mingw32-make
Debug build.................yes (combined)
Default build...............debug
Force debug info............no
C++11 support...............yes
Link Time Code Generation...no
Accessibility support.......yes
RTTI support................yes
SSE2 support................yes
SSE3 support................yes
SSSE3 support...............yes
SSE4.1 support..............yes
SSE4.2 support..............yes
AVX support.................yes
AVX2 support................yes
NEON support................no
OpenGL support..............yes
Large File support..........yes
NIS support.................no
Iconv support...............yes
Evdev support...............no
Mtdev support...............no
Inotify support.............no
eventfd(7) support..........no
Glib support................no
CUPS support................no
OpenVG support..............no
SSL support.................no
OpenSSL support.............no
libproxy support............no
Qt D-Bus support............no
Qt Widgets module support...yes
Qt GUI module support.......yes
QML debugging...............yes
DirectWrite support.........no
Use system proxies..........no

QPA Backends:
    GDI.....................yes
    Direct2D................no

Third Party Libraries:
    ZLIB support............system
    GIF support.............plugin
    JPEG support............plugin
    PNG support.............yes
    FreeType support........yes
    Fontconfig support......no
    HarfBuzz support........qt
    PCRE support............qt
    ICU support.............no
    ANGLE...................no
    Dynamic OpenGL..........no

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Fusion..................yes
    Windows CE..............no
    Windows Mobile..........no

Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............plugin
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

Sources are in..............D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase
Build is done in............D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase
Install prefix..............D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase
Headers installed to........D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\include
Libraries installed to......D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\lib
Arch-dep. data to...........D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase
Plugins installed to........D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\plugins
Library execs installed to..D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\bin
QML1 imports installed to...D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\imports
QML2 imports installed to...D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\qml
Binaries installed to.......D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\bin
Arch-indep. data to.........D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase
Docs installed to...........D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\doc
Translations installed to...D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\translations
Examples installed to.......D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\examples
Tests installed to..........D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\tests



Qt is now configured for building. Just run mingw32-make.
To reconfigure, run mingw32-make confclean and configure.

Код:
mingw32-make.exe > make.log
Лог:
Цитировать
cd qtbase\ && ( if not exist Makefile D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\bin\qmake D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\qtbase.pro -o Makefile ) && C:/mingw64/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase'
cd src\ && ( if not exist Makefile D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\bin\qmake D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\src\src.pro -o Makefile ) && C:/mingw64/bin/mingw32-make -f Makefile
mingw32-make[2]: Entering directory 'D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase/src'
cd tools\bootstrap\ && ( if not exist Makefile D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\bin\qmake D:\Qt\qt-everywhere-opensource-src-5.5.0\qtbase\src\tools\bootstrap\bootstrap.pro -o Makefile ) && C:/mingw64/bin/mingw32-make -f Makefile
mingw32-make[3]: Entering directory 'D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap'
D:/Qt/Qt5.5.0/5.5/mingw492_32/bin/qmake.exe -o Makefile bootstrap.pro
Makefile:187: recipe for target 'Makefile' failed
mingw32-make[3]: Leaving directory 'D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase/src/tools/bootstrap'
Makefile:61: recipe for target 'sub-bootstrap-make_first' failed
mingw32-make[2]: Leaving directory 'D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase/src'
Makefile:41: recipe for target 'sub-src-make_first' failed
mingw32-make[1]: Leaving directory 'D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase'
makefile:68: recipe for target 'module-qtbase-make_first' failed
Консоль:
Цитировать
process_begin: CreateProcess(NULL, D:/Qt/Qt5.5.0/5.5/mingw492_32/bin/qmake.exe -o Makefile bootstrap.pro, ...) failed.
make (e=2): ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы.
mingw32-make[3]: *** [Makefile] Error 2
mingw32-make[2]: *** [sub-bootstrap-make_first] Error 2
mingw32-make[1]: *** [sub-src-make_first] Error 2
mingw32-make: *** [module-qtbase-make_first] Error 2
Записан
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« Ответ #1 : Август 12, 2015, 12:19 »

Почему производится попытка запустить D:/Qt/Qt5.5.0/5.5/mingw492_32/bin/qmake.exe ?
У меня нет папки D:/Qt/Qt5.5.0
Записан
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« Ответ #2 : Август 12, 2015, 12:21 »

Код:
PS D:\Qt\qt-everywhere-opensource-src-5.5.0> mingw32-make.exe -v
Цитировать
GNU Make 4.1
Built for x86_64-w64-mingw32
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Записан
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« Ответ #3 : Август 12, 2015, 13:53 »

Сейчас перенёс папку исходников на диск Z
Теперь лезет в d:\Qt\Qt5.5.0_msvc\5.5\msvc2013_64\bin\qmake ...
А ещё пишет
Код:
Cannot read D:/Qt/qt-everywhere-opensource-src-5.5.0/qtbase/mkspecs/modules-inst/qt_plugin_qsqlpsql.pri: ??????? ?? ??????? ????? ????????? ????.
В чём дело??? У меня раньше был установлен qt в диск D, но потом я его снёс. Где что сбрасывать?
« Последнее редактирование: Август 12, 2015, 13:56 от __Heaven__ » Записан
Bepec
Гость
« Ответ #4 : Август 12, 2015, 17:51 »

Вспоминается тема прошлого дня про пути. Проверьте все пути в системе, особенно переменную QT_DIR
Записан
BuRn
Гость
« Ответ #5 : Август 13, 2015, 00:45 »

Решение в лоб, мне помогало и теперь я не доверяю клинам(clean), попробуйте удалить папку сырцов, перекачайте ее заново, запустите заново configure. Лично я сталкивался(онли винда) с такой штукой, что не всегда все очищается корректно, точно так же, натыкался на то, что если прописать -prefix и после успешной сборки сделать install, могут скопироваться не все файлы. Почему так - нипанятно, приходилось вручную копировать некоторые собранные библиотеки из qtbase. Да и под винду я бы рекомендовал собирать все же компилятором микрософта.
Записан
Bepec
Гость
« Ответ #6 : Август 13, 2015, 01:19 »

Напрашивается вариант, что никак они в порядок не приведут пути, с линуксовского стиля в микрософтовский Улыбающийся
Записан
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« Ответ #7 : Август 13, 2015, 13:03 »

Кажется нашёл проблему. Я когда-то пытался собрать плагин postgresql. Думал, что у меня исходники чистые...
Сейчас же идёт сборка, но сыпятся какие-то нервирующие предупреждения
Код:
mingw32-make.exe : D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\corelib\io\qurl.cpp: In member function 'bool Q
UrlPrivate::setHost(const QString&, int, int, QUrl::ParsingMode)':
строка:1 знак:1
+ mingw32-make.exe -j4 > make.log 2> make.err
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (D:\src\qt-every...:ParsingMode)'::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\corelib\io\qurl.cpp:1269:13: warning: assuming signed overflow doe
s not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
 inline bool QUrlPrivate::setHost(const QString &value, int from, int iend, QUrl::ParsingMode mode)
             ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\include/QtCore/qstring.h:1:0,
                 from D:/src/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/kernel/qcoreapplication.h:38,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\include\QtCore/qcoreapplication.h:1,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\corelib\global\qt_pch.h:56:
D:/src/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/tools/qstring.h:971:7: warning: assuming signed overflow d
oes not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
     { if (i >= s.d->size) s.expand(i); else s.detach();
       ^

ar: creating ..\..\lib\libqtmaind.a

ar: creating ..\..\lib\libqtmain.a

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\sql\kernel\qsqldriver.cpp: In member function 'virtual QString QSq
lDriver::sqlStatement(QSqlDriver::StatementType, const QString&, const QSqlRecord&, bool) const':
D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\sql\kernel\qsqldriver.cpp:461:9: warning: assuming signed overflow
 does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
 QString QSqlDriver::sqlStatement(StatementType type, const QString &tableName,
         ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\include/QtCore/qstring.h:1:0,
                 from D:/src/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/kernel/qcoreapplication.h:38,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\include\QtCore/qcoreapplication.h:1,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\corelib\global\qt_pch.h:56:
D:/src/qt-everywhere-opensource-src-5.5.0/qtbase/src/corelib/tools/qstring.h:971:7: warning: assuming signed overflow d
oes not occur when assuming that (X - c) > X is always false [-Wstrict-overflow]
     { if (i >= s.d->size) s.expand(i); else s.detach();
       ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\network\access\qspdyprotocolhandler_p.h:0: Note: No relevant class
es found. No output generated.

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\network\access\qnetworkaccessdebugpipebackend_p.h:0: Note: No rele
vant classes found. No output generated.

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\network\access\qspdyprotocolhandler_p.h:0: Note: No relevant class
es found. No output generated.

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\network\access\qnetworkaccessdebugpipebackend_p.h:0: Note: No rele
vant classes found. No output generated.

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:75:0: warning: "S_IRGRP" redefined
 #  define S_IRGRP 0040
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:155:0: note: this is the location of the previous definition
 #define S_IRGRP    (S_IRUSR >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:76:0: warning: "S_IWGRP" redefined
 #  define S_IWGRP 0020
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:156:0: note: this is the location of the previous definition
 #define S_IWGRP    (S_IWUSR >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:77:0: warning: "S_IXGRP" redefined
 #  define S_IXGRP 0010
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:157:0: note: this is the location of the previous definition
 #define S_IXGRP    (S_IXUSR >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:78:0: warning: "S_IROTH" redefined
 #  define S_IROTH 0004
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:160:0: note: this is the location of the previous definition
 #define S_IROTH    (S_IRGRP >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:79:0: warning: "S_IWOTH" redefined
 #  define S_IWOTH 0002
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:161:0: note: this is the location of the previous definition
 #define S_IWOTH    (S_IWGRP >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:80:0: warning: "S_IXOTH" redefined
 #  define S_IXOTH 0001
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:162:0: note: this is the location of the previous definition
 #define S_IXOTH    (S_IXGRP >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:75:0: warning: "S_IRGRP" redefined
 #  define S_IRGRP 0040
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:155:0: note: this is the location of the previous definition
 #define S_IRGRP    (S_IRUSR >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:76:0: warning: "S_IWGRP" redefined
 #  define S_IWGRP 0020
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:156:0: note: this is the location of the previous definition
 #define S_IWGRP    (S_IWUSR >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:77:0: warning: "S_IXGRP" redefined
 #  define S_IXGRP 0010
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:157:0: note: this is the location of the previous definition
 #define S_IXGRP    (S_IXUSR >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:78:0: warning: "S_IROTH" redefined
 #  define S_IROTH 0004
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:160:0: note: this is the location of the previous definition
 #define S_IROTH    (S_IRGRP >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:79:0: warning: "S_IWOTH" redefined
 #  define S_IWOTH 0002
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:161:0: note: this is the location of the previous definition
 #define S_IWOTH    (S_IWGRP >> 3)
 ^

D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:80:0: warning: "S_IXOTH" redefined
 #  define S_IXOTH 0001
 ^

In file included from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\mkspecs\win32-g++/qplatformdefs.h:53:0,
                 from D:\src\qt-everywhere-opensource-src-5.5.0\qtbase\src\gui\text\qzip.cpp:41:
C:/mingw64/x86_64-w64-mingw32/include/sys/stat.h:162:0: note: this is the location of the previous definition
 #define S_IXOTH    (S_IXGRP >> 3)
 ^

Записан
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« Ответ #8 : Август 13, 2015, 14:18 »

В общем собрал я qt с помощью mingw64...
Не понятно, почему при make install пошла ещё какая-то компиляция QtQml и ещё чего-то там....
До сих пор что-то компилируется, но либу для своих нужд я уже могу использовать.

Как бы теперь прикрутить postgresql драйвер? Так понимаю, что необходимо собрать сам postgre с использованием mingw64?
Записан
Пантер
Administrator
Джедай : наставник для всех
*****
Offline Offline

Сообщений: 5876


Жаждущий знаний


Просмотр профиля WWW
« Ответ #9 : Август 13, 2015, 16:17 »

Да, лучше постгрес самому собрать, проблем и зависимостей меньше.
Записан

1. Qt - Qt Development Frameworks; QT - QuickTime
2. Не используйте в исходниках символы кириллицы!!!
3. Пользуйтесь тегом code при оформлении сообщений.
qate
Супер
******
Offline Offline

Сообщений: 1175


Просмотр профиля
« Ответ #10 : Август 14, 2015, 09:04 »

Да, лучше постгрес самому собрать, проблем и зависимостей меньше.

лучше этого не делать, а воспользоваться менеджером пакетов из дистрибутива
Записан
Пантер
Administrator
Джедай : наставник для всех
*****
Offline Offline

Сообщений: 5876


Жаждущий знаний


Просмотр профиля WWW
« Ответ #11 : Август 14, 2015, 09:06 »

Да, лучше постгрес самому собрать, проблем и зависимостей меньше.

лучше этого не делать, а воспользоваться менеджером пакетов из дистрибутива

В винде появился менеджер пакетов? О_о
Записан

1. Qt - Qt Development Frameworks; QT - QuickTime
2. Не используйте в исходниках символы кириллицы!!!
3. Пользуйтесь тегом code при оформлении сообщений.
__Heaven__
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2130



Просмотр профиля
« Ответ #12 : Август 14, 2015, 09:17 »

Что-то даже захотелось погуглить Улыбающийся
http://habrahabr.ru/post/143996/
Записан
qate
Супер
******
Offline Offline

Сообщений: 1175


Просмотр профиля
« Ответ #13 : Август 14, 2015, 11:08 »

В винде появился менеджер пакетов? О_о

венда и постгрес ? О_о

даже если это так хочется, но зачем собирать руками постргрес ?
Записан
Пантер
Administrator
Джедай : наставник для всех
*****
Offline Offline

Сообщений: 5876


Жаждущий знаний


Просмотр профиля WWW
« Ответ #14 : Август 14, 2015, 11:11 »

А что тебя смущает в постгресе под виндой?
А собирать мингвом есть профит в том, что либ меньше и рантайм студийный за собой тащить не надо.
Записан

1. Qt - Qt Development Frameworks; QT - QuickTime
2. Не используйте в исходниках символы кириллицы!!!
3. Пользуйтесь тегом code при оформлении сообщений.
Страниц: [1] 2 3   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.052 секунд. Запросов: 22.