Unsolved Building 5.9.1 from Source: Only QT Base Gets Built
-
Hello, I've been trying to build QT 5.9.1 from source under Windows 10 using Visual Studio 2015 (x86). I've built QT from source many times and have never had this problem. I use my usual configure command, but after the build is complete only the base module has built. All the other modules (namely QSerialPort and Multimedia) have not been built. Has anything changed in 5.9.1 where I need to specify optional modules independently? Has anyone else encountered this problem? Any insight is appreciated.
Config options:
opensource -mp -platform win32-msvc2015 -openssl -I C:\sw_dev\OpenSSL-Win32\include -L C:\sw_dev\OpenSSL-Win32\lib\VC -icu -I C:\sw_dev\icu32\icu\include -L C:\sw_dev\icu32\icu\lib -prefix C:\sw_dev\qt-everywhere-opensource-src-5.9.1-x86-msvc2015 -confirm-license
-
Hi,
Where are you calling configure from ?
-
I'm calling it from the MSVC2015 command prompt. The x86 Native command prompt. Everything that gets build is built successfully (no errors or anything). It's just that only the base QT packages are built (GUI, Core, etc) and I don't seem to be able to get any of the other modules to build. It's really strange. I've built pretty much every QT version from source since 4.8 and this is the only time I've encountered this problem. 5.9.0 builds just fine; maybe they broke something in 5.9.1.
-
@LuckDG said in Building 5.9.1 from Source: Only QT Base Gets Built:
5.9.0 builds just fine; maybe they broke something in 5.9.1.
What is the output when you call
configure
for Qt 5.9.1? -
Contents of config.summary (sorry, web page won't let me attach a file):
Build type: win32-msvc (i386, CPU features: sse sse2) Configuration: sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 compile_examples f16c largefile msvc_mp precompile_header shared debug_and_release release debug build_all c++11 concurrent dbus no-pkg-config release_tools stl Build options: Mode ................................... debug and release; default link: debug; optimized tools Optimize release build for size ........ no Building shared libraries .............. yes Using C++ standard ..................... C++11 Using gold linker ...................... no Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 F16C AVX512 ............................... <none> Build parts ............................ libs examples tools App store compliance ................... no Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... no QML debugging .......................... yes udev ................................... no Using system zlib ...................... no Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... no iconv .................................. no ICU .................................... yes Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... no Qt Network: getaddrinfo() .......................... no getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no OpenSSL ................................ yes Qt directly linked to OpenSSL ........ no SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no PNG .................................. yes Using system libpng ................ no EGL .................................... yes OpenVG ................................. no OpenGL: ANGLE ................................ yes Combined ANGLE Library ............... no Desktop OpenGL ....................... no Dynamic OpenGL ....................... no OpenGL ES 2.0 ........................ yes OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no Session Management ..................... yes Features used by QPA backends: evdev .................................. no libinput ............................... no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon-evdev ........................ no QPA backends: DirectFB ............................... no EGLFS .................................. no LinuxFB ................................ no VNC .................................... no Mir client ............................. no Windows: Direct 2D ............................ yes DirectWrite .......................... yes DirectWrite 2 ........................ yes Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows WindowsXP WindowsVista Qt PrintSupport: CUPS ................................... no Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no
-
So from the root folder of Qt's sources ? Where did you get the sources from ?
-
I downloaded the ZIP file from QT.io:
http://download.qt.io/official_releases/qt/5.9/5.9.1/single/qt-everywhere-opensource-src-5.9.1.zip -
@LuckDG Odd.
I configured with
-developer-build -opensource -confirm-license -nomake examples -nomake tests -opengl desktop
(Qt 5.9.1 from git, using MinGW 5.3.0) and this is my config.summary:Build type: win32-g++ (i386, CPU features: <none>) Configuration: sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples f16c headersclean largefile optimize_debug precompile_header warnings_are_errors private_tests shared debug_and_release release debug build_all c++11 c++14 c++1z concurrent dbus no-pkg-config release_tools stl Build options: Mode ................................... debug and release; default link: debug; optimized tools Optimize debug build ................... yes Optimize release build for size ........ no Building shared libraries .............. yes Using C++ standard ..................... C++1z Using gold linker ...................... no Using precompiled headers .............. yes Using LTCG ............................. no Target compiler supports: SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX .................................. AVX AVX2 F16C AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI Build parts ............................ libs tools App store compliance ................... no Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... no QML debugging .......................... yes udev ................................... no Using system zlib ...................... yes Qt Core: DoubleConversion ....................... yes Using system DoubleConversion ........ no GLib ................................... no iconv .................................. no ICU .................................... no Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no Using system PCRE2 ..................... no Qt Network: getaddrinfo() .......................... yes getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no OpenSSL ................................ no Qt directly linked to OpenSSL ........ no SCTP ................................... no Use system proxies ..................... yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ no HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. no Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no PNG .................................. yes Using system libpng ................ no EGL .................................... no OpenVG ................................. no OpenGL: ANGLE ................................ no Desktop OpenGL ....................... yes Dynamic OpenGL ....................... no OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no Session Management ..................... yes Features used by QPA backends: evdev .................................. no libinput ............................... no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon-evdev ........................ no QPA backends: DirectFB ............................... no EGLFS .................................. no LinuxFB ................................ no VNC .................................... no Mir client ............................. no Windows: Direct 2D ............................ no DirectWrite .......................... yes DirectWrite 2 ........................ no Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows WindowsXP WindowsVista Qt PrintSupport: CUPS ................................... no Qt Sql: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... yes PostgreSQL ............................. no SQLite2 ................................ no SQLite ................................. yes Using system provided SQLite ......... no TDS (Sybase) ........................... no Qt SerialBus: Socket CAN ............................. no Socket CAN FD .......................... no QtXmlPatterns: XML schema support ..................... yes Qt QML: QML interpreter ........................ yes QML network support .................... yes Qt Quick: Direct3D 12 ............................ no AnimatedImage item ..................... yes Canvas item ............................ yes Support for Qt Quick Designer .......... yes Flipable item .......................... yes GridView item .......................... yes ListView item .......................... yes Path support ........................... yes PathView item .......................... yes Positioner items ....................... yes ShaderEffect item ...................... yes Sprite item ............................ yes Qt Gamepad: SDL2 ................................... no Qt 3D: Assimp ................................. yes System Assimp .......................... no Output Qt3D Job traces ................. no Output Qt3D GL traces .................. no Qt 3D GeometryLoaders: Autodesk FBX ........................... no Qt Wayland Client ........................ no Qt Wayland Compositor .................... no Qt Bluetooth: BlueZ .................................. no BlueZ Low Energy ....................... no Linux Crypto API ....................... no Qt Sensors: sensorfw ............................... no Qt Multimedia: ALSA ................................... no GStreamer 1.0 .......................... no GStreamer 0.10 ......................... no Video for Linux ........................ no OpenAL ................................. no PulseAudio ............................. no Resource Policy (libresourceqt5) ....... no Windows Audio Services ................. no DirectShow ............................. yes Windows Media Foundation ............... no Media player backend ................... DirectShow Qt Quick Controls 2: Styles ................................. Default Material Universal Qt Quick Templates 2: Hover support .......................... yes Multi-touch support .................... yes Qt Location: Gypsy GPS Daemon ....................... no WinRT Geolocation API .................. no Qt WebEngine: Embedded build ......................... no Pepper Plugins ......................... yes Printing and PDF ....................... yes Proprietary Codecs ..................... no Spellchecker ........................... yes WebRTC ................................. yes Using system ninja ..................... no Note: No wayland-egl support detected. Cross-toolkit compatibility disabled. WARNING: Python version 2 (2.7.5 or later) is required to build QtWebEngine.
Yours stopped at Qt SQL, but mine continued on. I'm not sure what's going on, sorry.
Did you make sure you ran
configure.bat
from the top-level folder? (Notconfigure
without the".bat", and not from inside qtbase)? -
I'm pretty sure I ran configure.bat from the correct location. However, I certainly could have messed that up by accident. I'll try it again and verify I do it the way you suggest. Thanks for the suggestions.