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

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

Страниц: [1]   Вниз
  Печать  
Автор Тема: Сборка Qt 5.2 Alpha  (Прочитано 3820 раз)
NKovalev64
Гость
« : Сентябрь 27, 2013, 13:47 »

Не собирается Qt из git.

Делаю так:
git clone git://gitorious.org/qt/qt5.git qt5.2
perl init-repository

set QTDIR=
set PATH=%CD%\qtbase\bin;%CD%\qtrepotools\bin;%PATH%

set INCLUDE=C:\Qt5.2\icu\include;%INCLUDE%;
set LIB=C:\Qt5.2\icu\lib64;%LIB%
set PATH=C:\Qt5.2\icu\bin64;%PATH%
set PATH=%CD%\qtbase\bin;%CD%\qtrepotools\bin;%PATH%
set PATH=C:\Python27;%PATH%
set CL=/MP

set PATH=%PATH%;%CD%\gnuwin32\bin;
cd .\qtwebkit
set WEBKITOUTPUTDIR=%CD%\WebkitBuild;
cd ..\

configure -prefix C:\Qt5.2\Qt5.2_MSVC2012 -opensource -platform win32-msvc2012 -debug-and-release -shared -c++11 -developer-build -nomake examples -nomake tests -no-vcproj -icu -opengl es2 -confirm-license
Конфиг проходит успешно.

nmake
Начинает бодро, но через пяток минут встает на этом месте:


Подскажите куда копать?
Записан
Alex Custov
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2063


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

Если git в PATH, то sh.exe, который идёт с ним, тоже попал в PATH. Если configure находит sh.exe, он генерит правила для shell. Убери git из PATH и используй полный путь до него (не пробовал). Я делал хаки типа

Код
Bash
set OLDPATH=%PATH%
set PATH=%PATH%;F:\dev\Git\bin
 
git ... || exit 1
 
set PATH=%OLDPATH%
set OLDPATH=
 
Записан
NKovalev64
Гость
« Ответ #2 : Сентябрь 27, 2013, 15:54 »

Если git в PATH, то sh.exe, который идёт с ним, тоже попал в PATH. Если configure находит sh.exe, он генерит правила для shell. Убери git из PATH и используй полный путь до него (не пробовал). Я делал хаки типа

Код
Bash
set OLDPATH=%PATH%
set PATH=%PATH%;F:\dev\Git\bin
 
git ... || exit 1
 
set PATH=%OLDPATH%
set OLDPATH=
 
Спасибо. Git действительно был в PATH, убрал его оттуда. Перекачал репозиторий отдельно из git shell. Перезапустил  командную строку VS12, сконфигурировал, но при сборке все встало на том же месте и с тем же выводом((
Вывод configure:

Код
Bash
Environment:
   INCLUDE=
     C:\Qt5.2\icu\include
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\INCLUDE
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\INCLUDE
     C:\Program Files (x86)\Windows Kits\8.0\include\shared
     C:\Program Files (x86)\Windows Kits\8.0\include\um
     C:\Program Files (x86)\Windows Kits\8.0\include\winrt
 
 
   LIB=
     C:\Qt5.2\icu\lib64
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\LIB\amd64
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\ATLMFC\LIB\amd64
     C:\Program Files (x86)\Windows Kits\8.0\lib\win8\um\x64
 
   PATH=
     C:\Python27
     c:\Qt5.2\Qt5.2\qtbase\bin
     c:\Qt5.2\Qt5.2\qtrepotools\bin
     C:\Qt5.2\icu\bin64
     c:\Qt5.2\Qt5.2\qtbase\bin
     c:\Qt5.2\Qt5.2\qtrepotools\bin
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow
     C:\Program Files (x86)\Microsoft SDKs\F#\3.0\Framework\v4.0\
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\x86_amd64
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools
     C:\Windows\Microsoft.NET\Framework\v4.0.30319
     C:\Windows\Microsoft.NET\Framework\v3.5
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\VCPackages
     C:\Program Files (x86)\HTML Help Workshop
     C:\Program Files (x86)\Microsoft Visual Studio 11.0\Team Tools\Performance Tools
     C:\Program Files (x86)\Windows Kits\8.0\bin\x86
     C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0A\bin\NETFX 4.0 Tools
     C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\
     C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
     C:\Perl64\bin
     C:\Ruby200-x64\bin
     C:\Qt\Tools\mingw48_32\bin
     C:\Android\AndroidSDK\sdk\platform-tools
     C:\Android\AndroidSDK\sdk\tools
     C:\Program Files\Java\jdk1.7.0_25\bin
     C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\bin
     C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\libnvvp
     C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\bin\Intel64
     C:\Windows\system32
     C:\Windows
     C:\Windows\System32\Wbem
     C:\Windows\System32\WindowsPowerShell\v1.0\
     C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\
     C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
     C:\Program Files (x86)\Nmap
     c:\Qt5.2\Qt5.2\gnuwin32\bin
 
Configuration:
   warnings_are_errors
   minimal-config
   small-config
   medium-config
   large-config
   full-config
   pcre
   debug
   compile_examples
Qt Configuration:
   private_tests
   debug_and_release build_all release
   debug
   shared
   zlib
   icu
   angle
   png
   freetype
   build_all
   accessibility
   opengl
   opengles2
   egl
   audio-backend
   wmf-backend
   native-gestures
   qpa
   concurrent
   minimal-config
   small-config
   medium-config
   large-config
   full-config
 
QMAKESPEC...................win32-msvc2012 (commandline)
Architecture................x86_64, features: sse sse2
Host Architecture...........x86_64, features: sse sse2
Maketool....................nmake
Debug build.................yes (combined)
Default build...............debug
Force debug info............no
C++11 support...............auto
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
IWMMXT support..............no
OpenGL support..............yes
Large File support..........yes
NIS support.................no
Iconv support...............no
Inotify support.............no
eventfd(7) support..........no
Glib support................no
CUPS support................no
OpenVG support..............no
OpenSSL 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
 
Third Party Libraries:
   ZLIB support............qt
   GIF support.............plugin
   JPEG support............plugin
   PNG support.............yes
   FreeType support........yes
   HarfBuzz-NG support.....no
   PCRE support............qt
   ICU support.............yes
   ANGLE...................yes
 
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..............no
   TDS.....................no
   DB2.....................no
   SQLite..................plugin (qt)
   SQLite2.................no
   InterBase...............no
 
Sources are in..............c:\Qt5.2\Qt5.2\qtbase
Build is done in............C:\Qt5.2\Qt5.2\qtbase
Install prefix..............C:\Qt5.2\Qt5.2_MSVC2012
Headers installed to........C:\Qt5.2\Qt5.2_MSVC2012\include
Libraries installed to......C:\Qt5.2\Qt5.2_MSVC2012\lib
Arch-dep. data to...........C:\Qt5.2\Qt5.2_MSVC2012
Plugins installed to........C:\Qt5.2\Qt5.2_MSVC2012\plugins
Library execs installed to..C:\Qt5.2\Qt5.2_MSVC2012\bin
QML1 imports installed to...C:\Qt5.2\Qt5.2_MSVC2012\imports
QML2 imports installed to...C:\Qt5.2\Qt5.2_MSVC2012\qml
Binaries installed to.......C:\Qt5.2\Qt5.2_MSVC2012\bin
Arch-indep. data to.........C:\Qt5.2\Qt5.2_MSVC2012
Docs installed to...........C:\Qt5.2\Qt5.2_MSVC2012\doc
Translations installed to...C:\Qt5.2\Qt5.2_MSVC2012\translations
Examples installed to.......C:\Qt5.2\Qt5.2_MSVC2012\examples
Tests installed to..........C:\Qt5.2\Qt5.2_MSVC2012\tests
Using internal configuration.
 
Generating Makefiles...
Info: creating super cache file C:/Qt5.2/Qt5.2/.qmake.super
 
 
Qt is now configured for building. Just run nmake.
To reconfigure, run nmake confclean and configure.
 

Вообщем проблема пока не решена...
« Последнее редактирование: Сентябрь 27, 2013, 15:59 от NKovalev64 » Записан
NKovalev64
Гость
« Ответ #3 : Сентябрь 27, 2013, 16:39 »

Сегодня скачал исходники по новой отсюда: http://download.qt-project.org/development_releases/qt/5.2/5.2.0-alpha/single/
Делаю все тоже самое - вылетает на том же самом месте(
« Последнее редактирование: Октябрь 01, 2013, 22:34 от NKovalev64 » Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  


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