Quantcast
Channel: Installation and Deployment
Viewing all 22112 articles
Browse latest View live

Unsolved Can we install qt 4.8.1 in ubuntu 18.04?

$
0
0

I found another error please help![alt text]( image url)


Unsolved Can i build Qt source for 32-bit linux on 64-bit linux

$
0
0

Then run configure with the -v option to see what failed when checking for xkbcommon.

Unsolved QtQuick.Controls can't be loaded

$
0
0

Hi, I'm currently using ArcGIS SDK and I can not even make the default projects work. I had some dll problems I coulded solve putting them into the proyect library, but for some reason QtQuick.Controls fails on load. When i try to run the app, i have this error in the application output window

Starting C:\Users\R\ArcGIS\AppStudio\Apps\build-esri1-Desktop-Debug\debug\esri1.exe...
QML debugging is enabled. Only use this in a safe environment.
Initializing application
QQmlApplicationEngine failed to load component
qrc:/qml/main.qml:15 plugin cannot be loaded for module "QtQuick.Controls": The library can not be loaded C:\Qt\5.12.2\msvc2017_64\qml\QtQuick\Controls\qtquickcontrolsplugind.dll: The specified module can not be found.

int __cdecl main(int,char *[]) QObject(0x0)
Error: Your root item has to be a Window.
C:/Users/R/ArcGIS/AppStudio/Apps/build-esri1-Desktop-Debug/debug/esri1.exe exited with code -1

C:\Qt\5.12.2\msvc2017_64\qml\QtQuick\Controls\qtquickcontrolsplugind.dll already exist on my computer

On Help->About QT Creator it says:
Qt Creator 4.5.0
Based on Qt 5.10.0 (MSVC 2015, 32 bit).

I have installed:
Windows 10 SDK : 10.0.17763.132
Microsoft Visual Studio: 15.9.28307.586
OpenSSL 1.1.1b
Java SDK 8.0.2010.9

Solved Problem installing Qt4 on Ubuntu

Unsolved Qt 4.8.6 installation on Ubuntu 18.04

$
0
0

Hello

I am fairly new to Qt and trying to install version 4.8.6 open source on Ubuntu 18.04 LTS to run other simulations. I have been successful before in installing it on 16.04 LTS but now I have received the following error during installation:

/usr/include/openssl/ossl_typ.h:107:16: note: forward declaration of ‘DSA {aka struct dsa_st}’
typedef struct dsa_st DSA;
^~~~~~
Makefile:17742: recipe for target '.obj/release-shared/qsslkey.o' failed
make[1]: *** [.obj/release-shared/qsslkey.o] Error 1
make[1]: Leaving directory '/home/wiggert/Programs/Qt/qt-everywhere-opensource-src-4.8.6/src/network'
Makefile:279: recipe for target 'sub-network-make_default-ordered' failed
make: *** [sub-network-make_default-ordered] Error 2

Can anyone please help?

Thanks in advance

Unsolved Installation over ssh (Hint)

$
0
0

Problem install qt over ssh:

$ ./qt-opensource-linux-x64-5.12.2.run --verbose
IFW Version: 3.0.6, built with Qt 5.9.5.
Build date: Nov 13 2018
Installer Framework SHA1: 8b3226b
qt.qpa.screen: QXcbConnection: Could not connect to display 
Could not connect to any X display.

Solution:
make sure on both machines

/etc/ssh/sshd_config

or

/etc/ssh/ssh_config

X forwarding is enabled like:

X11Forwarding yes

Unsolved On Travis CI 'make' command not generating .a file for static library which is used by another project.

$
0
0

@sierdzio yes it does build on the local PC , i'm attaching the screenshots of before and after build from my local system

Unsolved Updating to Qt5.13 breaks EGLFS

$
0
0

Some time ago I set up a Linux host to cross-compile Qt5 for RPi3. I used this configure command:

./configure -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=~/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/opt/sysroot -opensource -confirm-license -make libs -prefix /usr/local/qt5pi -extprefix ~/opt/qt5pi -hostprefix ~/opt/qt5 -v -nomake examples -nomake tests -reduce-exports -no-pch -no-use-gold-linker

and I successfully cross-compiled Qt5.9 with EGLFS support. Now I want update to Qt5.13.
Today, I checked out the git repository and typed the same configure command. Here the configure output:

Building on: linux-g++ (x86_64, CPU features: mmx sse sse2)
Building for: devices/linux-rasp-pi3-g++ (arm, CPU features: neon)
Target compiler: gcc 4.8.3
Configuration: cross_compile compile_examples enable_new_dtags largefile neon shared rpath release c++11 concurrent dbus reduce_exports stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. yes
  Using C standard ....................... C11
  Using C++ standard ..................... C++11
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Using precompiled headers .............. no
  Using LTCG ............................. no
  Target compiler supports:
    NEON ................................. yes
  Build parts ............................ libs
Qt modules and options:
  Qt Concurrent .......................... yes
  Qt D-Bus ............................... yes
  Qt D-Bus directly linked to libdbus .... yes
  Qt Gui ................................. yes
  Qt Network ............................. yes
  Qt Sql ................................. yes
  Qt Testlib ............................. yes
  Qt Widgets ............................. yes
  Qt Xml ................................. yes
Support enabled for:
  Using pkg-config ....................... yes
  udev ................................... yes
  Using system zlib ...................... yes
  Zstandard support ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
  GLib ................................... yes
  iconv .................................. yes
  ICU .................................... no
  Built-in copy of the MIME database ..... yes
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  Using system PCRE2 ..................... no
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ no
  OpenSSL 1.1 ............................ no
  DTLS ................................... yes
  OCSP-stapling .......................... no
  SCTP ................................... no
  Use system proxies ..................... yes
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ yes
  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 ................ yes
  EGL .................................... no
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. no
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... yes
  INTEGRITY HID .......................... no
  mtdev .................................. no
  tslib .................................. yes
  xkbcommon .............................. no
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... no
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. no
  LinuxFB ................................ yes
  VNC .................................... yes
  Mir client ............................. no
Qt Sql:
  SQL item models ........................ yes
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... no
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. no
  OCI (Oracle) ........................... no
  ODBC ................................... no
  PostgreSQL ............................. no
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... no
Qt Testlib:
  Tester for item models ................. yes
Qt SerialBus:
  Socket CAN ............................. yes
  Socket CAN FD .......................... yes
  SerialPort Support ..................... yes
Further Image Formats:
  JasPer ................................. no
  MNG .................................... no
  TIFF ................................... yes
    Using system libtiff ................. no
  WEBP ................................... yes
    Using system libwebp ................. no
Qt QML:
  QML network support .................... yes
  QML debugging and profiling support .... yes
  QML tracing JIT support ................ no
  QML sequence object .................... yes
  QML list model ......................... yes
  QML XML http request ................... yes
  QML Locale ............................. yes
  QML delegate model ..................... 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
  TableView item ......................... yes
  Path support ........................... yes
  PathView item .......................... yes
  Positioner items ....................... yes
  Repeater item .......................... yes
  ShaderEffect item ...................... yes
  Sprite item ............................ yes
Qt Scxml:
  ECMAScript data model for QtScxml ...... yes
Qt Gamepad:
  SDL2 ................................... no
Qt 3D:
  Assimp ................................. yes
  System Assimp .......................... no
  Output Qt3D Job traces ................. no
  Output Qt3D GL traces .................. no
  Use SSE2 instructions .................. no
  Use AVX2 instructions .................. no
  Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
Qt 3D Renderers:
  OpenGL Renderer ........................ yes
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
  WinRT Bluetooth API (desktop & UWP) .... no
  WinRT advanced bluetooth low energy API (desktop & UWP) . no
Qt Sensors:
  sensorfw ............................... no
Qt Quick Controls 2:
  Styles ................................. Default Fusion Imagine Material Universal
Qt Quick Templates 2:
  Hover support .......................... yes
  Multi-touch support .................... yes
Qt Positioning:
  Gypsy GPS Daemon ....................... no
  WinRT Geolocation API .................. no
Qt Location:
  Qt.labs.location experimental QML plugin . yes
  Geoservice plugins:
    OpenStreetMap ........................ yes
    HERE ................................. yes
    Esri ................................. yes
    Mapbox ............................... yes
    MapboxGL ............................. no
    Itemsoverlay ......................... yes
QtXmlPatterns:
  XML schema support ..................... yes
Qt Multimedia:
  ALSA ................................... yes
  GStreamer 1.0 .......................... no
  GStreamer 0.10 ......................... no
  Video for Linux ........................ yes
  OpenAL ................................. no
  PulseAudio ............................. no
  Resource Policy (libresourceqt5) ....... no
  Windows Audio Services ................. no
  DirectShow ............................. no
  Windows Media Foundation ............... no
Qt Tools:
  QDoc ................................... no
Qt WebEngineCore:
  Qt WebEngine Widgets ................... yes
  Qt WebEngine Qml ....................... yes
  Embedded build ......................... yes
  Pepper Plugins ......................... no
  Printing and PDF ....................... no
  Proprietary Codecs ..................... no
  Spellchecker ........................... yes
  Native Spellchecker .................... no
  WebRTC ................................. no
  Use System Ninja ....................... no
  Geolocation ............................ yes
  WebChannel support ..................... yes
  Use v8 snapshot ........................ yes
  Kerberos Authentication ................ no
  Extensions ............................. no
  Building v8 snapshot supported ......... yes
  Use ALSA ............................... yes
  Use PulseAudio ......................... no
  Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    glib ................................. yes
    zlib ................................. yes
    minizip .............................. no
    libevent ............................. no
    jsoncpp .............................. no
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. yes
    JPEG ................................. no
    harfbuzz ............................. no
    freetype ............................. yes
    x11 .................................. no
  Required system libraries:
    fontconfig ........................... no
    dbus ................................. yes
    nss .................................. no
    khr .................................. yes
    glibc ................................ yes
  Required system libraries for qpa-xcb:
    libdrm ............................... no
    xcomposite ........................... no
    xcursor .............................. no
    xi ................................... no
    xtst ................................. no
Qt WebEngineQml:
  UI Delegates ........................... yes
  Test Support ........................... no

Note: Also available for Linux: linux-clang linux-icc

Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.

Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation.
On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
On macOS, you can use Homebrew's llvm package.
On Windows, you must set LLVM_INSTALL_DIR to the installation path.

WARNING: Thumb instruction set is required to build ffmpeg for QtWebEngine.

ERROR: Feature 'opengles2' was enabled, but the pre-condition '(config.win32 && !features.opengl-dynamic) || (!config.watchos && !features.opengl-desktop && libs.opengl_es2)' failed.

ERROR: The OpenGL functionality tests failed!
You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

I don't understand why the OpenGL has failed this time. Perhaps I need to install some other libraries? When cross-compiling I always confused if I need to install library for my host on for the target... As side note, it's correct the specified device? I see other people use -device linux-rpi3-vc4-g++ (I want hw acceleration for omxplayer).


Unsolved Sql drivers in shadow build on reference machine mingw i386 fatal error: main.moc: No such file or directory

$
0
0

Dear folks,

I am trying to build binaries for Qt including SQL drivers for deployment, using mingw 8.1.0 and Qt 5.12.
For that, I am running the following commands:

set PATH=C:\Program Files (x86)\mingw_w64_posix_sjlj\bin;%PATH%

SET PATH="C:\Python34_x86";%PATH%
SET PATH="C:\Perl\bin";%PATH%
mingw32-make.exe distclean
CALL "../src32/configure.bat" -debug-and-release -platform win32-g++ -opensource -confirm-license -opengl desktop -skip qtwebengine -sql-mysql -sql-psql -sql-odbc -sql-oci MYSQL_INCDIR="D:\Dependencies\mysql-x86\include" MYSQL_LIBDIR="D:\Dependencies\mysql-x86\lib" OCI_INCDIR="D:\Dependencies\oci-x86\instantclient_18_5\sdk\include" OCI_LIBDIR="D:\Dependencies\oci-x86\instantclient_18_5\sdk\lib\msvc" OCI_PREFIX="D:\Dependencies\oci-x86\instantclient_18_5\sdk" PSQL_INCDIR="D:\Dependencies\psql-x86\pgsql\include" PSQL_LIBDIR="D:\Dependencies\psql-x86\pgsql\lib"
mingw32-make.exe

The make eventually throws up with the following error:

64-mingw32" -I"C:/Program Files (x86)/mingw_w64_posix_sjlj/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/backward" -I"C:/Program Files (x86)/mingw_w64_posix_sjlj/lib/gcc/i686-w64-mingw32/8.1.0/include" -I"C:/Program Files (x86)/mingw_w64_posix_sjlj/lib/gcc/i686-w64-mingw32/8.1.0/include-fixed" -I"C:/Program Files (x86)/mingw_w64_posix_sjlj/i686-w64-mingw32/include" D:\Libs\qt\5.12\src32\qtbase\src\plugins\imageformats\ico\main.h -o .moc\debug\moc_main.cpp
D:\Libs\qt\5.12\src32\qtbase\src\plugins\sqldrivers\odbc\main.cpp:73:10: fatal error: main.moc: No such file or directory
 #include "main.moc"
          ^~~~~~~~~~
compilation terminatedg++ -c -fno-keep-inline-dllexport -g -Og -std=c++1z -fno-exceptions -Wall -W -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -ID:\Libs\qt\5.12\src32\qtbase\src\plugins\imageformats\ico -I. -ID:\Libs\qt\5.12\src32\qtbase\include -ID:\Libs\qt\5.12\src32\qtbase.\include\QtGui -I..\..\..\..\include -I..\..\..\..\include\QtGui -ID:\Libs\qt\5.12\src32\qtbase\include\QtCore\5.12.2 -ID:\Libs\qt\5.12\

The config log says the following

looking for library odbc
Trying source 0 (type inline) of library odbc ...
+ cd /d D:\Libs\qt\5.12\x86\config.tests\odbc && D:\Libs\qt\5.12\x86\qtbase\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_USE += odbc" "QMAKE_LIBS_ODBC = \"C:/Program Files ^(x86^)/mingw_w64_posix_sjlj/i686-w64-mingw32/lib/libodbc32.a\"" D:/Libs/qt/5.12/x86/config.tests/odbc
+ cd /d D:\Libs\qt\5.12\x86\config.tests\odbc && set MAKEFLAGS=& mingw32-make
> g++ -c -fno-keep-inline-dllexport -g -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -ID:\Libs\qt\5.12\src32\qtbase\mkspecs\win32-g++  -o main.o main.cpp
> g++ -Wl,-subsystem,console -mthreads -o odbc.exe main.o  "C:\Program Files (x86)\mingw_w64_posix_sjlj\i686-w64-mingw32\lib\libodbc32.a"   
 => source accepted.
test config.qtbase_sqldrivers.libraries.odbc succeeded
looking for library psql
Trying source 0 (type pkgConfig) of library psql ...
pkg-config use disabled globally.
  => source produced no result.
Trying source 1 (type psqlConfig) of library psql ...
pg_config not found.
  => source produced no result.
Trying source 2 (type psqlEnv) of library psql ...[0_1555495231038_config.log](Uploading 100%) 

The x64 build of the same works perfectly.
Any ideas?

Solved No valid kits found

$
0
0

@maphew

Hi and welcome to devnet forum

This is only a user's forum. Nobody is monitring for bug reports and implementation suggestions. You would need to make an input to JIRA which is the offical bug tracker for Qt and all tools. You may use your account credentials also there.

Unsolved What's the minimum version for QtMQTT?

Unsolved Qt 5.10 mingw64 static building failed

Unsolved Issues with QMYSQL driver

$
0
0

I tried running the browser and got a message stating:

An error occurred while opening the connection: Authentication plugin 'caching_sha2_password' cannot be loaded: The specified module could not be found. QMYSQL: Unable to connect

Unsolved Unable to add new repository to Qt 5.11.2 via the maintenance tool

$
0
0

Hi everybody ! I just installed Qt 5.11.2. And now I want to add some other components of Qt and also the Felgo framework (it is. qml-based framework) to it via the maintenance tool !

But there is not any repository when i click on settings in the qt maintenance tool !

Please help me. I have to release my app next week !

Solved The application was unable to start correctly 0xc000007b

$
0
0

Perhaps some dll files are missing.


Unsolved How to get docs into prefix build [5.12] [win32-g++]

$
0
0

Dear folks,

I am trying to build Qt 5.12 with documentation and examples for MinGW Windows, but am despairing because the output directory does not contain the "doc" folder content.

Here is how it is being built:

REM NOTE: src32 path was used in 5.12 because of a gcc compiler bug that prevented compilation on x86 in qrandom.cpp

set SOURCES=D:\temp\src32
set OUTPUT=D:\Libs\qt\5.12\mingw64\x86

set LLVM_INSTALL_DIR=C:\Program Files (x86)\LLVM
set PATH=C:\Program Files (x86)\mingw_w64_posix_sjlj_8_1_0\bin;%LLVM_INSTALL_DIR%\bin;%PATH%


SET PATH="C:\Python34_x64";%PATH%
SET PATH="C:\Perl64\bin";%PATH%

mkdir "%OUTPUT%"
cd /D "%SOURCES%"
mingw32-make.exe distclean
CALL "configure.bat" -prefix "%OUTPUT%" -debug-and-release -platform win32-g++ -opensource -confirm-license -opengl desktop -skip qtwebengine -sql-mysql -sql-psql -sql-odbc -sql-oci MYSQL_INCDIR="D:\Dependencies\mysql-x86\include" MYSQL_LIBDIR="D:\Dependencies\mysql-x86\lib" OCI_INCDIR="D:\Dependencies\oci-x86\instantclient_18_5\sdk\include" OCI_LIBDIR="D:\Dependencies\oci-x86\instantclient_18_5\sdk\lib\msvc" OCI_PREFIX="D:\Dependencies\oci-x86\instantclient_18_5\sdk" PSQL_INCDIR="D:\Dependencies\psql-x86\pgsql\include" PSQL_LIBDIR="D:\Dependencies\psql-x86\pgsql\lib"
REM -recheck-all Option to recheck for headers

mingw32-make.exe -j 4
mingw32-make.exe -j 4 module-qttools
mingw32-make.exe -j 4 docs
mingw32-make.exe -j 4 install

Now, the src32\qtbase\doc directory contains data: qch files, but the output (prefix/install) directory "doc" subfolder only contains a "global" folder.

Any ideas / am I missing something not described in https://wiki.qt.io/Building_Qt_Documentation ?

Unsolved "Cannot find missing dependency" using Qt Maintenance Tool on macOS 10.13

$
0
0

@AndyBrice
did you really install 140gb worth of precompiled Qt?

I highly doubt you need all those version

Unsolved Qt 5.9.7, can't compile to Android, arm-linux-android-elf-64bit,x86-linux-android-elf-64bit,

$
0
0

I've used 5.9 without problems.I can't compile Android projects, because has a configuration error:

"No compiler can produce code for this Qt version. Please define one or more compilers for:arm-linux-android-elf-64bit,x86-linux-android-elf-64bit,"0_1556024592694_d52ab7e0-0afd-4af1-9020-5b9f42b2fecc-image.png

Unsolved Building 5.12.3 on Ubuntu 19.04 results in missing x11extras module

$
0
0

I downloaded qt-everywhere-src-5.12.3.tar.xz, extracted and configured with

OPENSSL_LIBS='-L/usr/lib/x86_64-linux-gnu -lssl -lcrypto' $SRC_FOLDER/configure -release -opensource -confirm-license -prefix $PREFIX_FOLDER -openssl-linked -static -optimize-size -ltcg -nomake examples -nomake tests -nomake tools -skip qtwebengine -skip qtdeclarative

It seems to finish just fine but when trying to build a project I get

Project ERROR: Unknown module(s) in QT: x11extras

The only relevant part that happens during make is

cd qtx11extras/ && ( test -e Makefile || /home/skyweb/Qt/5.12.3/64_static-build/qtbase/bin/qmake -o Makefile /home/skyweb/Qt/5.12.3/qt-everywhere-src-5.12.3/qtx11extras/qtx11extras.pro ) && make -f Makefile install
make[1]: Entering directory '/home/skyweb/Qt/5.12.3/64_static-build/qtx11extras'
cd src/ && ( test -e Makefile || /home/skyweb/Qt/5.12.3/64_static-build/qtbase/bin/qmake -o Makefile /home/skyweb/Qt/5.12.3/qt-everywhere-src-5.12.3/qtx11extras/src/src.pro ) && make -f Makefile install
make[2]: Entering directory '/home/skyweb/Qt/5.12.3/64_static-build/qtx11extras/src'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory '/home/skyweb/Qt/5.12.3/64_static-build/qtx11extras/src'
make[1]: Leaving directory '/home/skyweb/Qt/5.12.3/64_static-build/qtx11extras'

Unsolved Qt-wasm: Unknown module(s) in QT: websockets

$
0
0

I'm struggling to build and use Qt for Wasm on the new 5.13.0-beta2.
I'm running on windows, my configure looks like

configure -no-warnings-are-errors -xplatform wasm-emscripten -platform win32-g++ -nomake examples -prefix $PWD/qtbase -feature-thread -skip qt3d -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip qtdatavis3d -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebview -skip qttools -no-dbus -no-zlib -skip qtxmlpatterns

after which I just mingw32-make and try to apply the resulting qmake in qtbase/bin to my project.
This results in Project ERROR: Unknown module(s) in QT: websockets when encountering any .pro that uses QT += websockets.

Investigating, I see there are no library files corresponding to libQt5WebSockets in qtbase/lib. The qtwebsockets directory is being processed by make, the built library files are present in the qtwebsockets directory, but don't seem to get copied to qtbase/lib.

(mingw32-make install doesn't do this either - it seems to copy things to a 'WD' directory instead? I was under the impression that install wasn't a meaningful part of this process on windows anyway, it's not included in the qt-wasm examples.)

Copying the library files manually into qtbase/lib seems to have no effect - qmake fails with unknown module(s) whether they are present or not. Am I missing something huge here regarding the use of optional modules?

Viewing all 22112 articles
Browse latest View live