Skip to content
QtWS25 Last Chance
  • QT creator does not have kits

    Unsolved General and Desktop qt5 installation ubuntu 18.04
    5
    0 Votes
    5 Posts
    518 Views
    jsulmJ
    @suslucoder "QT Creator does not compile the projects" - is not a problem description. Also, QtCreator does not compile anything, a compiler does.
  • 0 Votes
    12 Posts
    2k Views
    SGaistS
    So everything looks correct... How are you loading your image in your application ?
  • 0 Votes
    16 Posts
    3k 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
  • QtMobility Ubuntu 18.04

    Unsolved QML and Qt Quick qtmoblity bionic ubuntu 18.04 batteryinfo desktop
    2
    0 Votes
    2 Posts
    474 Views
    SGaistS
    Hi, You should take a look at the QtSystems module.
  • 0 Votes
    3 Posts
    1k Views
    JonBJ
    @biaspoint I am pleased you have your situation sorted. Purely OOI, because I like shell scripting, why did you bother to put the xargs into your command when dpkg -l | grep qt | awk '{print $2}' would deliver the same result? :) | xargs -n1 echo is a bit of a no-op?
  • build MySQL driver on ubuntu 18.04

    Unsolved General and Desktop qsql ubuntu 18.04
    10
    0 Votes
    10 Posts
    1k Views
    mrjjM
    Hi Just to make sure you understand. When you install Qt from Qt site you get the normal version. However, Unbuntu also allows you to use apt-get an Qt version. ( often Not the newest but close) If you use that version, then you can also apt-get thd MySql stuff that is compiled with the unbuntu version of Qt. So ifs not critical to use the absolute newest Qt then Remove the version from Qt site and apt-get Qt from ubuntu and the MySql Stuff and it should just work with no extra effort.
  • 0 Votes
    6 Posts
    2k Views
    Pl45m4P
    I still don't know what exactly went wrong, but after I removed all of the OpenCV stuff and re-installed a fresh v4.1, it worked. So even though I checked all lib-files, there must have been something wrong with the linked libs (Pointing to different versions?! Links not working?!, etc.) Thanks @SGaist, your answer made me remove everthing and try the OCV version that is provided by Ubuntu 18.04. I got 3.X.X from there... After I removed this version again (because I want a newer one) and installed 4.1 from OCV page, it worked :-)
  • 0 Votes
    18 Posts
    4k Views
    Y
    Few place I read, it is generated due to some issue with kernel. So I just update the Ubuntu LTS, and Now it is working with same code.
  • 0 Votes
    2 Posts
    2k Views
    Y
    It may save other time. Call below function from installer.qs for creating *.desktop file you can call prototype by this. desktopFileCreateOnLinux() from any function in side component script. Below script will create the two place *.desktop file. inside the @TargetDir@/ inside ~/.local/share/applications/ (it will help while searching from Show application). prototype definition: Component.prototype.desktopFileCreateOnLinux = function() { if ((systemInfo.kernelType === "linux") ||(systemInfo.kernelType === "Linux")) { var dir = installer.value("TargetDir"); component.addOperation("CreateDesktopEntry", "Squidstat.desktop", "Type=Application\nName=Squidstat\nExec=\'"+dir+"/SquidStat.sh\'\nGenericName=The IDE of choice for Squidstat handle.\nIcon="+dir+"/Squidstat.png\nTerminal=false\nCategories=IDE;Qt;"); component.addOperation("CreateDesktopEntry", "@TargetDir@/Squidstat.desktop", "Type=Application\nName=Squidstat\nExec=\'"+dir+"/SquidStat.sh\'\nGenericName=The IDE of choice for Squidstat handle.\nIcon="+dir+"/Squidstat.png\nTerminal=false\nCategories=IDE;Qt;"); } }
  • 0 Votes
    2 Posts
    569 Views
    SGaistS
    Hi, I think you are looking for QMAKE_RPATHDIR.
  • 0 Votes
    6 Posts
    2k Views
    Y
    Hi, I am able to open the application by double click. I made change in Icon and Exec path. Exec=APP_PACKAGE_PATH/SquidStat.sh Icon=APP_PACKAGE_PATH/Squidstat.png
  • 0 Votes
    2 Posts
    846 Views
    raven-worxR
    @Yakov-Eremin read this: https://doc.qt.io/qt-5/qtwebengine-features.html#html5-geolocation to check if geoclue is working properly simply test if it delivers a position: https://doc.qt.io/qt-5/qml-qtpositioning-positionsource.html#example-usage
  • Trying to build Qt 5.5.1 on Ubuntu 18.04

    Unsolved Installation and Deployment ubuntu 18.04 5.5.1
    8
    0 Votes
    8 Posts
    2k Views
    A
    @mastroj I met similar issue when building CEF(Chromium Embedded Framework). It uses compiler_version.py, too. In my case, near line 54, the below source codes exist: def GetVersion(compiler, tool): tool_output = tool_error = None cache_key = (compiler, tool) cached_version = compiler_version_cache.get(cache_key) if cached_version: return cached_version try: # Note that compiler could be something tricky like "distcc g++". if tool == "compiler": compiler = compiler + " -dumpversion" # 4.6 version_re = re.compile(r"(\d+)\.(\d+)") Maybe, from g++(or gcc) version 7, -dumpversion option shows only major version such as 7, so that the regular expression of compiler_version.py raises an exception because it expects the version including minor one. So, I modified the option from -dumpversion to -dumpfullversion, and then it works well.
  • 0 Votes
    18 Posts
    28k Views
    JonBJ
    @aha_1980 Perfect, I shall go tell my expert friend he is talking rubbish :)