Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Are Qt Open Source and Qt Commercial different.

    Unsolved
    4
    0 Votes
    4 Posts
    433 Views
    JKSHJ
    @AshishDev said in Are Qt Open Source and Qt Commercial different.: They take the code from the open source branch and sell it with a commercial license. They don't "take code from the open source branch". They make the code available under multiple licenses (GPL or LGPL or Commercial). Users can choose which license they want to use. Different licenses come with different freedoms and obligations: If you choose the GPL license, then one of your obligations is to license your own software under the GPL. If you choose the commercial license, then one of your obligations is to pay the Qt Company. Is it not a violation of the GPL license? I don't see any violations here.
  • 0 Votes
    10 Posts
    1k Views
    P
    @SGaist linux-vdso.so.1 => (0x00007ffdebed9000) libQt5MultimediaWidgets.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5MultimediaWidgets.so.5 (0x00007f15c7fc9000) libQt5Multimedia.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5Multimedia.so.5 (0x00007f15c7cbc000) libQt5Widgets.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5Widgets.so.5 (0x00007f15c746d000) libQt5Core.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5Core.so.5 (0x00007f15c6cd2000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f15c6950000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f15c673a000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f15c6370000) libQt5Gui.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5Gui.so.5 (0x00007f15c5b21000) libQt5Network.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5Network.so.5 (0x00007f15c5779000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f15c555c000) libpulse-mainloop-glib.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-mainloop-glib.so.0 (0x00007f15c5357000) libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f15c5107000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f15c4df6000) libQt5OpenGL.so.5 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libQt5OpenGL.so.5 (0x00007f15c4b9f000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f15c492b000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f15c4622000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f15c4408000) libicui18n.so.56 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libicui18n.so.56 (0x00007f15c3f6f000) libicuuc.so.56 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libicuuc.so.56 (0x00007f15c3bb7000) libicudata.so.56 => /<PATH>/QT_5_12_9/5.12.9/gcc_64/lib/libicudata.so.56 (0x00007f15c21d4000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f15c1fd0000) libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f15c1dce000) /lib64/ld-linux-x86-64.so.2 (0x00007f15c81e7000) libpulsecommon-8.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x00007f15c1b51000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f15c1905000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f15c1695000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f15c146c000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f15c1269000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f15c1066000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f15c0e5f000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f15c0c5c000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f15c0a2b000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f15c0819000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f15c0616000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f15c0410000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f15c020e000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f15bfed4000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f15bfcbb000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f15bfab6000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f15bf894000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f15bf68e000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f15bf47c000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f15c834c000) libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f15bf272000) libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f15bf008000) libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f15bee02000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f15bebfa000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f15be9f6000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f15be7f0000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f15be5ce000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f15be3ac000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f15be0cb000) libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f15bdeb2000) libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f15bdc3d000) libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f15bd994000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f15bd779000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f15bd565000) libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f15bd35c000) libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f15bd131000)
  • remove timer single shot delay after a condition is met

    Solved
    15
    0 Votes
    15 Posts
    1k Views
    JonBJ
    @user4592357 said in remove timer single shot delay after a condition is met: so how can i make sure the child process does its initialisation inside the first slot, and not after it has finished You can't. You have no control over, or knowledge of, what the child is doing in the way of initialisation or otherwise. Quite apart from, you don't even know how the OS is scheduling time between your process and another process. i.e. only have singleShot delay if app was first time loaded, next times i don't wanna have delay To answer just that: just keep a bool variable to tell you whether it's first time or not, and don't do delay if you say you don't want it after first time.
  • sqlite3 - compiling in spatialite support

    Unsolved
    4
    0 Votes
    4 Posts
    581 Views
    SGaistS
    Can you show how you do that ? Did you try starting your application with the QT_DEBUG_PLUGINS environment variable set to 1 ?
  • using Git version number in app

    Solved
    5
    0 Votes
    5 Posts
    943 Views
    mzimmersM
    Very, very interesting. Never knew about that QMAKE_SUBSTITUTES. In my project file: GIT_VERSION = $$system(git --git-dir="C:/wifibutton"/.git --work-tree="C:/wifibutton" describe --always --tags) win32 { // this is to remove characters that could prevent compilation. GIT_VERSION ~= s/-\d+-g[a-f0-9]{6,} } QMAKE_SUBSTITUTES += config.h.in and config.h.in: #ifndef CONFIG_H_IN #define CONFIG_H_IN #define APP_VERSION '"$$GIT_VERSION"' #endif // CONFIG_H_IN and in my source code: QString version(APP_VERSION); // etc. Thanks!
  • How do I delete the current QTreeWidget element correctly?

    Solved
    33
    0 Votes
    33 Posts
    5k Views
    Christian EhrlicherC
    @Helg1980 said in How do I delete the current QTreeWidget element correctly?: QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 27, 29, 35, 0' You have a css somewhere which defines a wrong color rgb value.
  • QFile, QThread, QConcurrent and how to Qt

    Solved
    17
    1 Votes
    17 Posts
    4k Views
    J.HilkJ
    @A-Newbie said in QFile, QThread, QConcurrent and how to Qt: Regardless, I got answers pretty much to all of my questions and everyone helped a lot. great 👍 Is there a way to simply have this topic as solved without picking a specific answer? sure bottem right side, topic tools button, simply set it to solved there
  • This topic is deleted!

    Unsolved
    13
    0 Votes
    13 Posts
    53 Views
  • QObject::connect: No such slot MainWindow::indata()

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    JonBJ
    @mganesh Please read through https://doc.qt.io/qt-5/signalsandslots.html, looking at the examples. Please move away from SIGNAL/SLOT() macros, which are very old, and use the "new" syntax described there.
  • App does not even start in Oracle Linux Server 7.9

    Unsolved
    2
    0 Votes
    2 Posts
    303 Views
    jsulmJ
    @Merlino Try to start it with strace: strace ./YOUR_APP You can post its output here. It can give some hints.
  • QML Connections:: Cannot assign to non-existent property "onIgnoreChanged"

    Unsolved
    3
    0 Votes
    3 Posts
    461 Views
    SPlattenS
    It looks like "model" is a C++ object, but I cannot trace where it is added or exposed to QML. If anyone can tell me how I can trace this ?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Using QCamera on Win10

    Unsolved
    6
    0 Votes
    6 Posts
    682 Views
    S
    @Bonnie It was the reason. Thank you very much!
  • Unknown module(s) in QT: webenginewidgets

    Unsolved
    5
    0 Votes
    5 Posts
    598 Views
    Q
    @Bonnie OK, thank you.
  • 0 Votes
    3 Posts
    329 Views
    enjoysmathE
    @jsulm Thank you! That makes a lot of sense. I will go with a SQLite database (or whatever is simplest).
  • DHT11 Sensor with RPI

    Unsolved graph rpi dht11
    13
    0 Votes
    13 Posts
    3k Views
    jsulmJ
    @helloworldddd said in DHT11 Sensor with RPI: do u know how to use plot values to time, time as x axis on pyqtgraph? Sorry, I never used pyqtgraph. Did you check its documentation?
  • QNetworkReply and Transfer-Encoding: chunked

    Unsolved
    1
    0 Votes
    1 Posts
    473 Views
    No one has replied
  • 0 Votes
    3 Posts
    260 Views
    enjoysmathE
    I have given up on that project for now. It has many many bugs :(
  • Problems Building Qt from source

    Solved
    3
    0 Votes
    3 Posts
    336 Views
    MDCatoM
    Okay so that got me going in the correct direction, My headers were actually okay, but I was not running the commands the right way. I was using a standard old cmd.exe, which appeared to have gcc.exe configured in the path, alone with g++.exe and mingw32-make.exe, except for some reason the "\bin" directory was not in the PATH variable somehow. I assumed that it was because it found gcc.exe, and I was wrong (still not sure how I was wrong with that logic). TL;DR there is a "mingw-w64.bat" in the PROGFIL~1 directory that you need to execute (which sets the PATH) and then run the configure.bat command inside that window that pops up.
  • Showing QListWidget freezes application

    Solved
    2
    0 Votes
    2 Posts
    220 Views
    swirlS
    Attached it to a QDialog and it worked. Woops.