Skip to content
  • 0 Votes
    2 Posts
    108 Views
    SGaistS

    Hi,

    A missing SQL plugin should not crash your application unless you do some strange things. At best your queries will fail because no connection can be established.

    However, running your application as root might explain. By default recent Linux distributions forbid running GUI application as root user.

  • 0 Votes
    1 Posts
    108 Views
    No one has replied
  • 0 Votes
    3 Posts
    174 Views
    J

    @SGaist Thanks!!

  • 0 Votes
    5 Posts
    979 Views
    L

    @jsulm
    I got it to work. Thank you very much :)

  • 0 Votes
    19 Posts
    2k Views
    M

    @JonB Thanks Jon. I will look into those suggestions. I think at this point though, the best thing for me to try, rather than thrashing around with my current project, would be for me to start a new project focused on just replicating this specific issue. I'll try and pare this down to minimal required code, just enough to reproduce the problem This will make findings clearer and easier to communicate to others. If I get to a point where I have something useful to share, I'll do so. Thank you again..Mark

  • 1 Votes
    14 Posts
    3k Views
    S

    Copy "libstdc++6.dll" from where the mingw bin files are located into your folder where the executable is located. This worked for me and it should work for yall :)

  • 0 Votes
    3 Posts
    2k Views
    M

    Copy qopensslbackend.dll in a tls folder next to your .exe, and DLL in your PATH :

    ./myexec.exe
    ./libcrypto-1_1-x64.dll
    ./libssl-1_1-x64.dll
    ./tls/qopensslbackend.dll

  • 0 Votes
    3 Posts
    3k Views
    gde23G

    The reason linuxdeployqt does not support your latest ubuntu is not, that its not up to date, but it is on purpose.
    If you build your appimage on a new linux and then want to run it on an older installation it might not work there since e.g. the libc version on the older system does not support new features that have been added. And running on any system is the whole point of the appimage.

  • 1 Votes
    11 Posts
    1k Views
    D

    @J-Hilk Thanks for the reply. This adds a bit of complexity to my WIX installer since I don't want to list all 700+ files individually. Do you know if there is anyway to deploy these files in a folder other than where the executable is located? I would like to dump all of the QT dependencies in one folder (which can have subfolders) but I need to be able to "blow away" all of the Qt related dependencies by deleting one directory while being confident that I didn't delete anything but Qt dependencies.

  • 0 Votes
    6 Posts
    666 Views
    artwawA

    After the advice from @SGaist I started to experiment a bit with settings of the build steps: problem disappeared after I did these three steps one by one (after each I checked if the problem is gone - it disappeared after the last step:

    turning off QML debugging and profiling switch (default was "leave default", effective call showed CONFIG+=qml_debug now it is CONFIG-=) turning off QtQuick compiler (default was "leave default, effective call showed CONFIG+=qtquickcompiler now it is CONFIG-=) deleting shadow build folders (I do it routinely once a week or so anyway).

    Now the problem is gone, I am marking the topic as "solved".

  • 0 Votes
    3 Posts
    532 Views
    aha_1980A

    Hi @TUStudi,

    This virtual maschine need to support Bluetooth Low Energy.

    If you have an USB bluetooth dongle/adapter, than you can most likely inject this dongle into the virtual machine and use it there. Note that even bluetooth adapters built into your laptop may be an USB devices and could work that way.

    So I'd say it depends on a test.

    Regards

  • 0 Votes
    16 Posts
    2k Views
    KH-219DesignK

    The following shows how much content the folder (or AppImage) will ultimately contain (for comparison with the above first step of staging).

    In fact, I even had to abbreviate the listing below because the Qt forum disallows more than ~32K characters per post :)

    AppImage_staging/ ├── app.desktop ├── app.png ├── AppRun -> usr/bin/app └── usr ├── bin │ ├── app │ ├── event_filter.o │ ├── gui_tests.o │ ├── libapp.so │ ├── libapp.so.1 │ ├── libapp.so.1.0 │ ├── libapp.so.1.0.0 │ ├── liblibstylesplugin.so │ ├── libminutil.so │ ├── libminutil.so.1 │ ├── libminutil.so.1.0 │ ├── libminutil.so.1.0.0 │ ├── libtestmain.so │ ├── libtestmain.so.1 │ ├── libtestmain.so.1.0 │ ├── libtestmain.so.1.0.0 │ ├── lib_tests │ ├── libutil.so │ ├── libutil.so.1 │ ├── libutil.so.1.0 │ ├── libutil.so.1.0.0 │ ├── main.o │ ├── Makefile │ ├── moc_event_filter.cpp │ ├── moc_event_filter.o │ ├── moc_gui_tests.cpp │ ├── moc_gui_tests.o │ ├── moc_predefs.h │ ├── provision.sh │ ├── qt.conf │ └── view_model_collection.o ├── lib │ ├── libicudata.so.56 │ ├── libicui18n.so.56 │ ├── libicuuc.so.56 │ ├── libQt5Core.so.5 │ ├── libQt5DBus.so.5 │ ├── libQt5Gui.so.5 │ ├── libQt5Network.so.5 │ ├── libQt5QmlModels.so.5 │ ├── libQt5Qml.so.5 │ ├── libQt5QmlWorkerScript.so.5 │ ├── libQt5QuickControls2.so.5 │ ├── libQt5Quick.so.5 │ ├── libQt5QuickTemplates2.so.5 │ ├── libQt5Svg.so.5 │ ├── libQt5Widgets.so.5 │ └── libQt5XcbQpa.so.5 ├── plugins │ ├── bearer │ │ ├── libqconnmanbearer.so │ │ ├── libqgenericbearer.so │ │ └── libqnmbearer.so │ ├── imageformats │ │ ├── libqgif.so │ │ ├── libqicns.so │ │ ├── libqico.so │ │ ├── libqjpeg.so │ │ ├── libqsvg.so │ │ ├── libqtga.so │ │ ├── libqtiff.so │ │ ├── libqwbmp.so │ │ └── libqwebp.so │ ├── platforminputcontexts │ │ ├── libcomposeplatforminputcontextplugin.so │ │ └── libibusplatforminputcontextplugin.so │ ├── platforms │ │ └── libqxcb.so │ ├── platformthemes │ │ └── libqgtk3.so │ └── xcbglintegrations │ ├── libqxcb-egl-integration.so │ └── libqxcb-glx-integration.so ├── qml │ ├── Qt │ │ └── labs │ │ ├── folderlistmodel │ │ │ ├── libqmlfolderlistmodelplugin.so │ │ │ ├── plugins.qmltypes │ │ │ └── qmldir │ │ └── settings │ │ ├── libqmlsettingsplugin.so │ │ ├── plugins.qmltypes │ │ └── qmldir │ ├── QtGraphicalEffects │ │ ├── Blend.qml │ │ ├── BrightnessContrast.qml │ │ ├── Colorize.qml │ │ ├── ColorOverlay.qml │ │ ├── ConicalGradient.qml │ │ ├── Desaturate.qml │ │ ├── DirectionalBlur.qml │ │ ├── Displace.qml │ │ ├── DropShadow.qml │ │ ├── FastBlur.qml │ │ ├── GammaAdjust.qml │ │ ├── GaussianBlur.qml │ │ ├── Glow.qml │ │ ├── HueSaturation.qml │ │ ├── InnerShadow.qml ... truncated ... │ │ │ │ ├── PictureSpecifics.qml │ │ │ │ ├── PictureSpecifics.qmlc │ │ │ │ ├── PieMenuSpecifics.qml │ │ │ │ ├── PieMenuSpecifics.qmlc │ │ │ │ ├── qtquickextras.metainfo │ │ │ │ ├── StatusIndicatorSpecifics.qml │ │ │ │ ├── StatusIndicatorSpecifics.qmlc │ │ │ │ ├── ToggleButtonSpecifics.qml │ │ │ │ └── ToggleButtonSpecifics.qmlc │ │ │ ├── Dial.qml │ │ │ ├── Dial.qmlc │ │ │ ├── Gauge.qml │ │ │ ├── Gauge.qmlc │ │ │ ├── libqtquickextrasplugin.so │ │ │ ├── PieMenu.qml │ │ │ ├── PieMenu.qmlc │ │ │ ├── plugins.qmltypes │ │ │ ├── Private │ │ │ │ ├── CircularButton.qml │ │ │ │ ├── CircularButton.qmlc │ │ │ │ ├── CircularButtonStyleHelper.qml │ │ │ │ ├── CircularButtonStyleHelper.qmlc │ │ │ │ ├── CircularTickmarkLabel.qml │ │ │ │ ├── CircularTickmarkLabel.qmlc │ │ │ │ ├── Handle.qml │ │ │ │ ├── Handle.qmlc │ │ │ │ ├── PieMenuIcon.qml │ │ │ │ ├── PieMenuIcon.qmlc │ │ │ │ ├── qmldir │ │ │ │ ├── TextSingleton.qml │ │ │ │ └── TextSingleton.qmlc │ │ │ ├── qmldir │ │ │ ├── StatusIndicator.qml │ │ │ ├── StatusIndicator.qmlc │ │ │ ├── ToggleButton.qml │ │ │ ├── ToggleButton.qmlc │ │ │ ├── TumblerColumn.qml │ │ │ ├── TumblerColumn.qmlc │ │ │ ├── Tumbler.qml │ │ │ └── Tumbler.qmlc │ │ ├── Layouts │ │ │ ├── libqquicklayoutsplugin.so │ │ │ ├── plugins.qmltypes │ │ │ └── qmldir │ │ ├── PrivateWidgets │ │ │ ├── libwidgetsplugin.so │ │ │ ├── plugins.qmltypes │ │ │ └── qmldir │ │ ├── Templates.2 │ │ │ ├── libqtquicktemplates2plugin.so │ │ │ ├── plugins.qmltypes │ │ │ └── qmldir │ │ └── Window.2 │ │ ├── libwindowplugin.so │ │ ├── plugins.qmltypes │ │ └── qmldir │ └── QtQuick.2 │ ├── libqtquick2plugin.so │ ├── plugins.qmltypes │ └── qmldir └── share ├── applications │ └── app.desktop └── icons └── hicolor └── 256x256 └── apps └── app.png
  • 0 Votes
    3 Posts
    849 Views
    A

    Thank you @hskoglund for this option, it worked!
    This is the perfect solution for me, it's simple, and now I can use C++ variables for the install path of my DLL if needed.

    Thanks again!

  • 0 Votes
    6 Posts
    941 Views
    SGaistS

    If you want a full static build, you'll have to build it yourself.

  • 0 Votes
    2 Posts
    348 Views
    sierdzioS

    You can, it works with QtQuick.

  • 0 Votes
    4 Posts
    2k Views
    artwawA

    @hskoglund It worked!
    I read the docs in OpenSSL provided with Qt (file INSTALL, src folder, section "Notes on shared libraries), where it states that:

    On Windows build with MSVC or using MingW, shared libraries are named libcrypto-1_1.dll and libssl-1_1.dll for 32-bit Windows, libcrypto-1_1-x64.dll and libssl-1_1-x64.dll for 64-bit x86_64 Windows, and libcrypto-1_1-ia64.dll and libssl-1_1-ia64.dll for IA64 Windows. With MSVC, the import libraries are named libcrypto.lib and libssl.lib, while with MingW, they are named libcrypto.dll.a and libssl.dll.a.

    Of course, files provided with Qt are build with MSVC which is just odd considering that I installed mingw only. Anyway, instead of going with installation of provided msvc packages (they are in the Qt folder tree, ms redist 2010) I downloaded OpenSLL 1.1.1d (or 1.1.1.4 as the dll description states) precompiled with mingw from official mirror.
    Works like a charm.

    What mislead me was that Qt started to provide OpenSSL binaries as toolkit whereas previously I always downloaded myself. Dumb me thought that toolkit would be oriented towards the build chain / compatible.

    Anyway, thank you @hskoglund for the hint.

  • 0 Votes
    2 Posts
    553 Views
    SGaistS

    Hi and welcome to devnet,

    AFAIK, there's no such list. Distributions may provide tray icon through different means and some patches Qt to support their custom system.

    Did you try on these distribution with their own versions of Qt to see how it's working ?

  • 0 Votes
    4 Posts
    1k Views
    A

    I posted this Question on SO as well, who directed me towards a logger which made it really easy to see what was up and lead to an easy fix.

    Heres a link to the question if anyone would find it helpful: https://stackoverflow.com/questions/61035096/attempting-windows-deployment-exe-file-not-opening-with-no-error-messages/61036646#61036646

  • 0 Votes
    11 Posts
    2k Views
    U

    0_1568024286357_2019-09-09 13-17-33 ekran görüntüsü.png
    I have these versions . It does not work when i build directly on raspberry pi .

  • 0 Votes
    9 Posts
    9k Views
    SGaistS

    Do you have another Qt version installed on that device ?