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

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

Страниц: [1]   Вниз
  Печать  
Автор Тема: Не собирается 4.7.4 статически  (Прочитано 3088 раз)
RedDog
Гость
« : Сентябрь 27, 2011, 11:29 »

Запускаю конфигурацию:

Код:
configure -static -debug-and-release -openssl-linked OPENSSL_LIBS="-lssleay32 -llibeay32" -no-exceptions -nomake demos -nomake examples
что касаемо SSL - все добавил по мануалу:
http://prog.org.ru/wiki/index.php?title=%D0%A1%D0%B1%D0%BE%D1%80%D0%BA%D0%B0_Qt_%D1%81_%D0%BF%D0%BE%D0%B4%D0%B4%D0%B5%D1%80%D0%B6%D0%BA%D0%BE%D0%B9_Open_SSL_%D0%B2_Windows
в qmake.conf добавил :
QMAKE_LFLAGS = -static -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc

выводит:
Цитировать
QMAKESPEC...................win32-g++ (detected)
Architecture................windows
Maketool....................mingw32-make
Debug symbols...............yes
Link Time Code Generation...no
Accessibility support.......yes
STL support.................yes
Exception support...........no
RTTI support................yes
MMX support.................yes
3DNOW support...............yes
SSE support.................yes
SSE2 support................yes
IWMMXT support..............no
OpenGL support..............yes
OpenVG support..............no
OpenSSL support.............linked
QtDBus support..............no
QtXmlPatterns support.......no
Phonon support..............yes
QtMultimedia support........yes
WebKit support..............no
Declarative support.........yes
Declarative debugging.......yes
QtScript support............yes
QtScriptTools support.......yes
Graphics System.............raster
Qt3 compatibility...........yes

Third Party Libraries:
    ZLIB support............qt
    GIF support.............yes
    TIFF support............yes
    JPEG support............yes
    PNG support.............yes
    MNG support.............yes
    FreeType support........no

Styles:
    Windows.................yes
    Windows XP..............yes
    Windows Vista...........yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes
    Windows CE..............no
    Windows Mobile..........no
    S60.....................no

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

Sources are in..............Q:\QtSDK\QtSources\4.7.4
Build is done in............Q:\QtSDK\QtSources\4.7.4
Install prefix..............Q:\QtSDK\QtSources\4.7.4
Headers installed to........Q:/QtSDK/QtSources/4.7.4/include
Libraries installed to......Q:/QtSDK/QtSources/4.7.4/lib
Plugins installed to........Q:/QtSDK/QtSources/4.7.4/plugins
Imports installed to........Q:/QtSDK/QtSources/4.7.4/imports
Binaries installed to.......Q:/QtSDK/QtSources/4.7.4/bin
Docs installed to...........Q:/QtSDK/QtSources/4.7.4/doc
Data installed to...........Q:/QtSDK/QtSources/4.7.4
Translations installed to...Q:/QtSDK/QtSources/4.7.4/translations
Examples installed to.......Q:/QtSDK/QtSources/4.7.4/examples
Demos installed to..........Q:/QtSDK/QtSources/4.7.4/demos

WARNING: Using static linking will disable the use of plugins.
         Make sure you compile ALL needed modules into the library.
Creating qmake...
g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -IQ:\QtSDK\QtSources\4.7.4/include -IQ:\QtSDK\QtSources\4.7.4/incl
ude/QtCore -IQ:\QtSDK\QtSources\4.7.4/include -IQ:\QtSDK\QtSources\4.7.4/include/QtCore -IQ:\QtSDK\QtSources\4.7.4/src/corelib/global -IQ:\QtSDK\QtSources\4.7.4/src/corelib/xml -IQ
:\QtSDK\QtSources\4.7.4/mkspecs/win32-g++ -IQ:\QtSDK\QtSources\4.7.4/tools/shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -D
QT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQMAK
E_OPENSOURCE_EDITION project.cpp
In file included from project.cpp:42:
project.h:45:25: error: qstringlist.h: No such file or directory
project.h:46:25: error: qtextstream.h: No such file or directory
project.h:47:21: error: qstring.h: No such file or directory
project.h:48:20: error: qstack.h: No such file or directory
project.h:49:18: error: qmap.h: No such file or directory
project.h:50:23: error: qmetatype.h: No such file or directory
In file included from property.h:45,
                 from project.cpp:43:
и т.д.
Записан
LisandreL
Птица говорун
*****
Offline Offline

Сообщений: 984


Надо улыбаться


Просмотр профиля
« Ответ #1 : Сентябрь 27, 2011, 11:36 »

Попробуйте компилить вот из этих исходников: http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.zip
Записан
RedDog
Гость
« Ответ #2 : Сентябрь 28, 2011, 11:23 »

Спасибо, встало, собралось.
Вот только сомнения берут, раньше на ночь оставлял компиляцию, а тут где то час всего собиралось. Но ошибок не выдало никаких.
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  


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