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

[[qanda:topic_unsolved]] Error running app in Linux (static bulid)

$
0
0

Building Qt 5.15.2 on a Linux Mint 20.1 Cinnamin

Building work (but takes hours...). No errors.

Clean source install every time I tried, no error at configure, make or make install.

Compiling/building an app works with static libs, no warnings from linker BUT when trying to run it:

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland, wayland-xcomposite-glx.

Aborted (core dumped)

No idea what to try, may be missing configure option or something missing from system. Same project (my app, not Qt) work without any problem in non-static (default Linux 5.15.2 installation). Help :-)

/Martin

configure is:

./configure -static -prefix "/home/jma/Qt/5.15.2/static" -confirm-license -opensource -nomake tests -nomake examples -openssl-linked -dbus -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-sqlite -qt-tiff -qt-webp

config.summary:

Build type: linux-g++ (x86_64, CPU features: mmx sse sse2)
Compiler: gcc 9.3.0
Configuration: sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2 avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi avx512vl compile_examples enable_new_dtags f16c largefile precompile_header rdrnd rdseed shani x86SimdAlways release c++11 c++14 c++17 c++1z concurrent dbus reduce_exports reduce_relocations static stl
Build options:
  Mode ................................... release
  Optimize release build for size ........ no
  Building shared libraries .............. no
  Using C standard ....................... C11
  Using C++ standard ..................... C++17
  Using ccache ........................... no
  Using new DTAGS ........................ yes
  Relocatable ............................ no
  Using precompiled headers .............. yes
  Using LTCG ............................. no
  Target compiler supports:
    SSE .................................. SSE2 SSE3 SSSE3 SSE4.1 SSE4.2
    AVX .................................. AVX AVX2
    AVX512 ............................... F ER CD PF DQ BW VL IFMA VBMI
    Other x86 ............................ AES F16C RDRAND SHA
    Intrinsics without -mXXX option ...... yes
  Build parts ............................ libs tools
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 ...................... no
  Zstandard support ...................... no
Qt Core:
  DoubleConversion ....................... yes
    Using system DoubleConversion ........ yes
  GLib ................................... yes
  iconv .................................. no
  ICU .................................... yes
  Built-in copy of the MIME database ..... yes
  Tracing backend ........................ <none>
  Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
  PCRE2 .................................. yes
    Using system PCRE2 ................... no
Qt Network:
  getifaddrs() ........................... yes
  IPv6 ifname ............................ yes
  libproxy ............................... no
  Linux AF_NETLINK ....................... yes
  OpenSSL ................................ yes
    Qt directly linked to OpenSSL ........ yes
  OpenSSL 1.1 ............................ yes
  DTLS ................................... yes
  OCSP-stapling .......................... yes
  SCTP ................................... no
  Use system proxies ..................... yes
  GSSAPI ................................. no
Qt Gui:
  Accessibility .......................... yes
  FreeType ............................... yes
    Using system FreeType ................ no
  HarfBuzz ............................... yes
    Using system HarfBuzz ................ yes
  Fontconfig ............................. no
  Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
      Using system libjpeg ............... no
    PNG .................................. yes
      Using system libpng ................ no
  Text formats:
    HtmlParser ........................... yes
    CssParser ............................ yes
    OdfWriter ............................ yes
    MarkdownReader ....................... yes
      Using system libmd4c ............... no
    MarkdownWriter ....................... yes
  EGL .................................... no
  OpenVG ................................. no
  OpenGL:
    Desktop OpenGL ....................... yes
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
  Vulkan ................................. yes
  Session Management ..................... yes
Features used by QPA backends:
  evdev .................................. yes
  libinput ............................... yes
  INTEGRITY HID .......................... no
  mtdev .................................. yes
  tslib .................................. no
  xkbcommon .............................. yes
  X11 specific:
    XLib ................................. yes
    XCB Xlib ............................. yes
    EGL on X11 ........................... no
    xkbcommon-x11 ........................ yes
QPA backends:
  DirectFB ............................... no
  EGLFS .................................. no
  LinuxFB ................................ yes
  VNC .................................... yes
Qt Sql:
  SQL item models ........................ yes
Qt Widgets:
  GTK+ ................................... no
  Styles ................................. Fusion Windows
Qt PrintSupport:
  CUPS ................................... yes
Qt Sql Drivers:
  DB2 (IBM) .............................. no
  InterBase .............................. no
  MySql .................................. yes
  OCI (Oracle) ........................... no
  ODBC ................................... yes
  PostgreSQL ............................. yes
  SQLite2 ................................ no
  SQLite ................................. yes
    Using system provided SQLite ......... no
  TDS (Sybase) ........................... yes
Qt Testlib:
  Tester for item models ................. yes
Serial Port:
  ntddmodm ............................... no
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 just-in-time compiler .............. yes
  QML sequence object .................... yes
  QML XML http request ................... yes
  QML Locale ............................. yes
Qt QML Models:
  QML list model ......................... 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
QtQuick3D:
  Assimp ................................. yes
  System Assimp .......................... no
Qt Scxml:
  ECMAScript data model for QtScxml ...... yes
Qt Gamepad:
  SDL2 ................................... no
Qt 3D:
  Assimp ................................. yes
  System Assimp .......................... no
  Output Qt3D GL traces .................. no
  Use SSE2 instructions .................. yes
  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
  RHI Renderer ........................... no
Qt 3D GeometryLoaders:
  Autodesk FBX ........................... no
Qt Wayland Drivers:
  EGL .................................... no
  Raspberry Pi ........................... no
  XComposite EGL ......................... no
  XComposite GLX ......................... yes
  DRM EGL ................................ no
  libhybris EGL .......................... no
  Linux dma-buf server buffer integration . no
  Vulkan-based server buffer integration . no
  Shm emulation server buffer integration . yes
Qt Wayland Client Shell Integrations:
  xdg-shell .............................. yes
  xdg-shell unstable v5 (deprecated) ..... yes
  xdg-shell unstable v6 .................. yes
  ivi-shell .............................. yes
  wl-shell (deprecated) .................. yes
Qt Wayland Client ........................ yes
Qt Wayland Compositor .................... yes
Qt Wayland Compositor Layer Plugins:
  VSP2 hardware layer integration ........ no
Qt Bluetooth:
  BlueZ .................................. no
  BlueZ Low Energy ....................... no
  Linux Crypto API ....................... no
  Native Win32 Bluetooth ................. 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 ............................. yes
    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 ............................. yes
  Resource Policy (libresourceqt5) ....... no
  Windows Audio Services ................. no
  DirectShow ............................. no
  Windows Media Foundation ............... no
Qt TextToSpeech:
  Flite .................................. no
  Flite with ALSA ........................ no
  Speech Dispatcher ...................... no
Qt Tools:
  Qt Assistant ........................... yes
  Qt Designer ............................ yes
  Qt Distance Field Generator ............ yes
  kmap2qmap .............................. yes
  Qt Linguist ............................ yes
  Mac Deployment Tool .................... no
  makeqpf ................................ yes
  pixeltool .............................. yes
  qdbus .................................. yes
  qev .................................... yes
  Qt Attributions Scanner ................ yes
  qtdiag ................................. yes
  qtpaths ................................ yes
  qtplugininfo ........................... yes
  Windows deployment tool ................ no
  WinRT Runner Tool ...................... no
Qt Tools:
  QDoc ................................... no
Qt WebEngine Build Tools:
  Use System Ninja ....................... no
  Use System Gn .......................... no
  Jumbo Build Merge Limit ................ 8
  Developer build ........................ no
  Sanitizer .............................. no
  QtWebEngine required system libraries:
    fontconfig ........................... yes
    dbus ................................. yes
    nss .................................. no
    khr .................................. yes
    glibc ................................ yes
  Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    glib ................................. yes
    zlib ................................. no
    minizip .............................. no
    libevent ............................. no
    jsoncpp .............................. no
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. no
    JPEG ................................. no
    harfbuzz ............................. yes
    freetype ............................. no

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

Note: Using static linking will disable the use of dynamically
loaded plugins. Make sure to import all needed static plugins,
or compile needed modules into the library.

Note: When linking against OpenSSL, you can override the default
library names through OPENSSL_LIBS.
For example:
    OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked

Note: The following modules are not being compiled in this configuration:
    webenginecore
    webengine
    webenginewidgets
    pdf
    pdfwidgets

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: Tool gperf is required to build QtWebEngine.

WARNING: Tool gperf is required to build QtPdf.

WARNING: QtWebEngine will not be built.

WARNING: QtPdf will not be built.

[[qanda:topic_unsolved]] Plasma no longer boots: Could not load the Qt platform plugin “xcb” in “” even though it was found

$
0
0

Manjaro KDE just upgraded to Plasma 5.21 with QT 5.15.2.

A friend of mine that uses Manjaro KDE told me that after today’s update, when he entered his password, the desktop was no longer initializing.

So I updated one of my computers myself, one that uses auto-login, and I got this:

Screenshot

When starting plasmashell from the tty I got:

Could not load the Qt platform plugin “xcb” in “” even though it was found.

The journal shows a problem with libc:

Screenshot

And the sddm.service shows:

Auth: sddm-helper exited with 1

[[qanda:topic_unsolved]] Library for Qt for WebAssembly?

$
0
0
There are a few docker for qt webassembly already around: https://github.com/Zebreus/qt-webassembly-docker https://github.com/guerinoni/qt-wasm and instructions: https://www.qt.io/blog/2019/03/05/using-docker-test-qt-webassembly

[[qanda:topic_unsolved]] Qt Installer Framework: Cannot uninstall program on Windows 10

$
0
0
FWIW, it seems to work fine in Win10 and IFW 4.0.0 these days, even when the string contains spaces (i.e. installed in c:\program files...).

[[qanda:topic_solved]] qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.

$
0
0
@Lengendary Thanks, this resolve the problem for me on Ubuntu 18.04 Qt 5.15.2

[[qanda:topic_unsolved]] Android settings error- Platform SDK not found

$
0
0

Hello all,

I'm a newbie to QT/QML. I am trying to build a qml application for android. Have installed and given all required packages and paths[jdk, sdk and ndk].

But there is an error which says 'Platform SDK ' not installed as you can see in the image. Mine is windows10- 64 bit machine. Please suggest me what I need to do to get rid of this error.

android_error.png

[[qanda:topic_unsolved]] Hello everyone, when I was compiling the QT 5.15.2 source code, an unsolvable problem occurred.

$
0
0

First explain my compilation environment:
Operating system: ubuntu 20.04.2 X64
Compiler version: gcc10.2
Installation library description:
apt-get build-dep qt5-default -y &&
apt-get install cmake gcc-10 g++-10 dos2unix -y &&
apt-get install libxcb-xinerama0 libxcb-xinerama0-dev -y &&
apt-get install build-essential perl python git -y &&
apt-get install'^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev -y &&
apt-get install flex bison gperf libicu-dev libxslt-dev ruby ​​-y &&
apt-get install libasound2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev -y &&
apt install libclang-dev llvm -y

Build parameters: configure -debug -static -no-pch -prefix /usr/local/qt-develop -qtnamespace Cry -c++std c++17 -confirm-license -opensource -plugin-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -fontconfig -qt-harfbuzz -nomake examples -nomake tests -skip qtwebengine -skip qtdoc -opengl

Finally, when compiling Qt5Core, there will be: undefined reference to `FcCharSetHasChar' error

[[qanda:topic_solved]] [SOLVED] qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""


[[qanda:topic_unsolved]] Weird mac .app build (was fine in December)

$
0
0

I noticed something odd in a way resulting .app is being build. Can't exactly say when did this happened since I don't codesign too often...

So, my last deployment was in December and it went as usual: macdeployqt, codesign app, create dmg, codesign dmg, send it over.
Yesterday I tried to do same but codesign failed repeatedly with peculiar message about root being not sealed in .app file.
I took a peek inside. Somehow, apart from Content folder that I would expect to be there, there was whole .app file again, so I had:
In myprogram.app:

  • Content
  • myprogram.app

Folder myprogram.app had the expected content. In order to codesign and ship I had to manually remove myprogram.app and its subfolders from myprogram.app root.

Any ideas what had happened here? This is reproducible issue.

[[qanda:topic_unsolved]] Remove specific components from qt installation

$
0
0
So I finally found an answer. You simply uncheck and hit next and then update. It would be nice if there was a better confirmation message that states exactly what is about to be done. The predicted disk usage is a bit lame.

[[qanda:topic_unsolved]] Error building Qt from source on Windows OS for Android OS

$
0
0

I tried to build Qt 5.15.0 as static library for Android on Windows 10. I used official instruction on qt site. I compiling on MinGW 8.1.0 x64. My script:

set "JDK_ROOT=C:\Program Files\Java\jdk1.8.0_241\bin"
set "PREFIX_OUT=D:\Qt\profiles\and_st_5_15_0"
set "ANDROID_SDK_ROOT=C:\Users\range\AppData\Local\Android\Sdk"
set "ANDROID_NDK_ROOT=C:\Users\range\AppData\Local\Android\Sdk\ndk\21.3.6528147"
configure -static --disable-rpath -prefix %PREFIX_OUT% -xplatform android-clang -android-sdk %ANDROID_SDK_ROOT% -android-ndk %ANDROID_NDK_ROOT% -android-ndk-host windows-x86_64 -opensource -confirm-license -nomake examples -nomake tests -nomake tools -make libs -qt-zlib -qt-libpng -skip qttranslations -skip qtserialport -no-warnings-are-errors
mingw32-make
mingw32-make install

While compiling i got errors:

D:\Qt\5_15_0\src\qtbase\bin\moc.exe -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_PLUGIN_RESOURCE_INIT_FUNCTION=qml_qtqml_models.2_modelsplugin_armeabi_v7a_plugin_resource_init --include D:/Qt/5_15_0/src/qtdeclarative/src/imports/models/.moc/armeabi-v7a/moc_predefs.h -ID:/Qt/5_15_0/src/qtbase/mkspecs/android-clang -ID:/Qt/5_15_0/src/qtdeclarative/src/imports/models -ID:/Qt/5_15_0/src/qtdeclarative/include/QtQmlModels/5.15.0 -ID:/Qt/5_15_0/src/qtdeclarative/include/QtQmlModels/5.15.0/QtQmlModels -ID:/Qt/5_15_0/src/qtdeclarative/include/QtQml/5.15.0 -ID:/Qt/5_15_0/src/qtdeclarative/include/QtQml/5.15.0/QtQml -ID:/Qt/5_15_0/src/qtbase/include/QtCore/5.15.0 -ID:/Qt/5_15_0/src/qtbase/include/QtCore/5.15.0/QtCore -ID:/Qt/5_15_0/src/qtdeclarative/include -ID:/Qt/5_15_0/src/qtdeclarative/include/QtQmlModels -ID:/Qt/5_15_0/src/qtdeclarative/include/QtQml -ID:/Qt/5_15_0/src/qtbase/include -ID:/Qt/5_15_0/src/qtbase/include/QtNetwork -ID:/Qt/5_15_0/src/qtbase/include/QtCore -IC:/Users/range/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/c++/v1 -IC:/Users/range/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/local/include -IC:/Users/range/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/lib64/clang/9.0.8/include -IC:/Users/range/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include/aarch64-linux-android -IC:/Users/range/AppData/Local/Android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include -Muri=QtQml.Models.2 plugin.cpp -o .moc\armeabi-v7a\plugin.moc
C:\Users\range\AppData\Local\Android\Sdk\ndk\21.3.6528147/toolchains/llvm/prebuilt/windows-x86_64/bin/clang++ -c -target armv7a-linux-androideabi21 -fno-limit-debug-info -fPIC -fstack-protector-strong -DANDROID -O2 -mthumb -Oz -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wdate-time -Winconsistent-missing-override -ffunction-sections -fdata-sections -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_PLUGIN_RESOURCE_INIT_FUNCTION=qml_qtqml_models.2_modelsplugin_armeabi_v7a_plugin_resource_init -I. -I..\..\..\include\QtQmlModels\5.15.0 -I..\..\..\include\QtQmlModels\5.15.0\QtQmlModels -I..\..\..\include\QtQml\5.15.0 -I..\..\..\include\QtQml\5.15.0\QtQml -ID:\Qt\5_15_0\src\qtbase\include\QtCore\5.15.0 -ID:\Qt\5_15_0\src\qtbase\include\QtCore\5.15.0\QtCore -I..\..\..\include -I..\..\..\include\QtQmlModels -I..\..\..\include\QtQml -ID:\Qt\5_15_0\src\qtbase\include -ID:\Qt\5_15_0\src\qtbase\include\QtNetwork -ID:\Qt\5_15_0\src\qtbase\include\QtCore -I.moc\armeabi-v7a -ID:\Qt\5_15_0\src\qtbase\mkspecs\android-clang -o .obj\armeabi-v7a\plugin.obj plugin.cpp
In file included from plugin.cpp:97:
.moc\armeabi-v7a\plugin.moc:119:1: error: variable has incomplete type 'void'
QT_MOC_EXPORT_PLUGIN(QtQmlModelsPlugin, QtQmlModelsPlugin)
^
D:\Qt\5_15_0\src\qtbase\include\QtCore/../../src/corelib/plugin/qplugin.h:176:5: note: expanded from macro
      'QT_MOC_EXPORT_PLUGIN'
    Q_PLUGIN_INSTANCE(PLUGINCLASS) \
    ^
D:\Qt\5_15_0\src\qtbase\include\QtCore/../../src/corelib/plugin/qplugin.h:156:17: note: expanded from macro
      'Q_PLUGIN_INSTANCE'
                QT_PLUGIN_RESOURCE_INIT \
                ^
D:\Qt\5_15_0\src\qtbase\include\QtCore/../../src/corelib/plugin/qplugin.h:146:23: note: expanded from macro
      'QT_PLUGIN_RESOURCE_INIT'
          extern void QT_PLUGIN_RESOURCE_INIT_FUNCTION(); \
                      ^
<command line>:15:42: note: expanded from here
#define QT_PLUGIN_RESOURCE_INIT_FUNCTION qml_qtqml_models.2_modelsplugin_armeabi_v7a_plugin_resource_init
                                         ^
In file included from plugin.cpp:97:
.moc\armeabi-v7a\plugin.moc:119:1: error: expected ';' at end of declaration
D:\Qt\5_15_0\src\qtbase\include\QtCore/../../src/corelib/plugin/qplugin.h:176:5: note: expanded from macro
      'QT_MOC_EXPORT_PLUGIN'
    Q_PLUGIN_INSTANCE(PLUGINCLASS) \
    ^
D:\Qt\5_15_0\src\qtbase\include\QtCore/../../src/corelib/plugin/qplugin.h:156:17: note: expanded from macro
      'Q_PLUGIN_INSTANCE'
                QT_PLUGIN_RESOURCE_INIT \
                ^
D:\Qt\5_15_0\src\qtbase\include\QtCore/../../src/corelib/plugin/qplugin.h:146:23: note: expanded from macro
      'QT_PLUGIN_RESOURCE_INIT'
          extern void QT_PLUGIN_RESOURCE_INIT_FUNCTION(); \
                      ^
<command line>:15:58: note: expanded from here
#define QT_PLUGIN_RESOURCE_INIT_FUNCTION qml_qtqml_models.2_modelsplugin_armeabi_v7a_plugin_resource_init
                                                         ^
2 errors generated.
mingw32-make[5]: *** [Makefile.Armeabi-v7a:617: .obj\armeabi-v7a\plugin.obj] Error 1
mingw32-make[5]: Leaving directory 'D:/Qt/5_15_0/src/qtdeclarative/src/imports/models'
mingw32-make[4]: *** [Makefile:48: armeabi-v7a-all] Error 2
mingw32-make[4]: Leaving directory 'D:/Qt/5_15_0/src/qtdeclarative/src/imports/models'
mingw32-make[3]: *** [Makefile:114: sub-models-make_first] Error 2
mingw32-make[3]: Leaving directory 'D:/Qt/5_15_0/src/qtdeclarative/src/imports'
mingw32-make[2]: *** [Makefile:489: sub-imports-make_first-ordered] Error 2
mingw32-make[2]: Leaving directory 'D:/Qt/5_15_0/src/qtdeclarative/src'
mingw32-make[1]: *** [Makefile:50: sub-src-make_first] Error 2
mingw32-make[1]: Leaving directory 'D:/Qt/5_15_0/src/qtdeclarative'
mingw32-make: *** [Makefile:312: module-qtdeclarative-make_first] Error 2

Someone know how to fix that?
P.S.: Also i checked the problem on Qt 5_15_2. And got the same result.

[[qanda:topic_unsolved]] cs student here using qt. had to delete and reinstall and new version keeps throwing a strange hash error.

$
0
0

So My old version was 5.15.1 mingw 64bit 8.1.0 and I was having a hard time running code in it and using the debugger. The code I was using was sent to my teacher and it ran fine. He sent me some of his code to run and it did not pass the test cases he wrote for the same code so he concluded it must be qt. I uninstalled it and went to reinstall. Around 30% it gave me this error:
hash verification failed while downloading. This is a temporary error please retry.
It does not matter how many times I retry, it does the same thing. Any version I try to install now gives the same message right about the same time. I tried to seek and destroy any qt in my file system and that did not work so I created a new profile for windows and that did not work. when I cancel out of the retry loop it gives me the more specific message :
cannot fetch archives: cannot verify hash error while downloading http://downlload.qt.io/online/qtsdkrepository/windows_x86/desktop/tools_qtcreator/qt.tools.window_kits_debuggers/2019-11-07-0X64 debuggers and tools-x64_en-us.7z
or something very close to that. There may be an item or two out of place as I could not copy the error message from qt....That was extremely annoying.

Please tell me someone has had this issue and can tell me what is going on here. I am on the second to last week of this term and having to code for the rest of this term on my laptop will be an absurd challenge with someone with fingers like mine...

[[qanda:topic_unsolved]] Qt Creator extremely slow when adding large library INCLUDEPATH

$
0
0
@gde23 Hi,I encountered the same problem.Can you tell me the solution to this problem?

[[qanda:topic_unsolved]] Issues installation Timeline for QT Creator using Qt 5.15.2 on Mac Big Sur

$
0
0
You should check out the branch for Qt5. The one you're using now is for Qt6 - QVariant::metaType() is only available since Qt6.0

[[qanda:topic_unsolved]] qt creator cannot start the emulator

$
0
0
@Pablo-J-Rogina because I cannot put the question in the two categories together and I need both of them.

[[qanda:topic_solved]] I can't open qtcreator in ubuntu

$
0
0
@SGaist same problem but I still can't solve it after reading your posts. 😢

[[qanda:topic_unsolved]] Run qt example is not warning and error but nothing is displayed (exception window)

$
0
0

Hello everbody,
I have a trouble with qt creator 4.14.1 when i run qt example is not warning and error but nothing is displayed (exception window white screen) ( below the image). I have already installed window 10 and installed qt creator .Example I run that is qmlchart and i use mingw 8.1 64 bit
37fe59d1-7397-4ad1-9c42-b78f42d81ffb-image.png

So do i install missing file ? I guess issue belongs to graphics ( because nothing is display example color , rectangle, v.. v....) and i checked my computer is using directX 12

Could anyone please help me?

Thank you,

[[qanda:topic_unsolved]] How to idetify the disk and partiton - in Linux?

$
0
0

Small issue while downloading / updating Qt Maintenance tool.

Is there a way to have the installer to identify the disk and partition on multiboot / multidisk / multipartitons system ?

eb9b6488-480e-4a82-9b3b-f6aca22830c7-image.png

PS Why is installer having issues with TEMPORARY files anyway ?
If the disk in question is operating system partition , what is wrong using "swap file " in Linux for TEMPORARY storage ? I have plenty of free space if I knew WHICH disk needs it .

[[qanda:topic_unsolved]] Starting for scratch - tutorial ?

$
0
0

My last QtCreator download is missing anything "debug".
Now after using QtCreator for few months I came to realize that there is no real HOW to implement QtCreator.
And I do not care to hear about "Qt is library"
I am talking about "QtCreator - IDE .
Hopefully it is not necessary to spell IDE here.

Here is a challenge to y'all

Tho implement / be able to USE QtCreator IDE one has to download at minimum
" Qt " (creator?)
which at the "finish" asks to start "QtCreator" hence it MUST be a download of "QtCreator"

"Qt Maintenance tool"
which apparently is a duplicate of "QtCreator ->Tools -> Options " (??)

After installing both of these "downloads" one is advised to carefully check ALL tools-> options.
Especially the very descriptive "kit(s) " (?)

YES- options refers / can link to "Qt" maintenance tool .

I would go out on limb and say any serious additions to the above would be very helpful.

I personally like to see some form of explanation of "Qt" numbering / versioning scheme.
For example "off line installer " now loads 6.0.2 BUT the NUMBER is still same as was for 6.0.1.

Then one can currently "Qt" download 6.0.2 , but there is a question posted about 6.1. (?)
(Who is on first ?)

Addendum
Start here
Allegedly off line installer load s both Qt Library and Qt Creator

https://www.qt.io/offline-installers

[[qanda:topic_unsolved]] All abou tQtCreator IDE , not about anyting else Qt - libray , installer , tool(s) . etc ...

$
0
0

What is (question) an official way to install QtCreator IDE ?
(answer) an official way / link to install QtCreator IDE is ....

What is (question) the current official working version number of QtCreator IDE ?
(answer) an official , current version number of QtCreator IDE (for linux if it matters ) is...

(qustion ) Is current version of OtCreator IDE NUMBER SAME for windoze and Linux ?
(answer ()
NO they are not same
YES they are same numbers

Please NO unofficial / experiential / beta test / community supported (?) stuff

Reason for asking these - just installed OFFICIAL 15.12 "off line installer " - not QtCreator IDE ! and it won't even attempt to run.

Viewing all 22112 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>