Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.5k Posts
  • Slack Channel

    Solved
    5
    0 Votes
    5 Posts
    970 Views
    W
    The "cpplang" Slack is quite active with C++ developers, and it has a Qt channel. The Qt channel specifically isn't super active, but there are always a few folks around. https://cppalliance.org/slack/
  • QUndoView::QListView how to disable some item?

    Unsolved
    4
    0 Votes
    4 Posts
    496 Views
    SGaistS
    And I don't think you are going to be able to do that with QUndoView as it is currently implemented. You should check its implementation and create your own View/Model combo that fits your need. This is going to be faster.
  • Error in webassembly compilation

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    S
    5.13.1 is not released as an stable Qt version and I'm using 5.13.0 (latest stable version) so I applied the patch. Thanks!
  • Architecture doubt: Plugin AND Standalone together

    Unsolved
    8
    0 Votes
    8 Posts
    718 Views
    mrjjM
    @fem_dev Hi Case 2 is not possible with the DLL/so files alone. It has to be loaded via some other app using QPluginLoader/QLibrary
  • Subclass QUiLoader

    Unsolved
    16
    0 Votes
    16 Posts
    1k Views
    3
    The problem is officially a bug: bug 1070
  • SQLite DB at Runtime

    Solved
    18
    0 Votes
    18 Posts
    2k Views
    S
    @oshio Thank You, you'ra are very usefull!!!
  • Chrome like tab with separate process for each?

    Unsolved chrome tabs
    11
    0 Votes
    11 Posts
    3k Views
    A
    Hi. Did you get a solution for you problem. I am having a similar issue where I would like to create a multi tab window with each tab as a separate process.
  • Linux build qt.glx problem

    Unsolved
    19
    0 Votes
    19 Posts
    7k Views
    B
    @sgaist Hi, just FYI- yje iOS build works without problems, like Windows build (exits with code 0). I am currently using 5.13.0. Did you mean to update to the latest 5.13.2?
  • QScrollBar can't be styled anymore?

    Solved
    18
    0 Votes
    18 Posts
    5k Views
    mrjjM
    Hi Not possible to explain/guess at without the exact stylesheets and locations. However, its often easier to manage stylesheet by using ONLY one sheet and set on the application. That way its easier to control the cascading. The rules with selectors are pretty complicated and its hard to get an overview with many stylesheets.
  • how to remove the scale in the QCustom Plot

    Unsolved
    4
    0 Votes
    4 Posts
    348 Views
    mrjjM
    Hi if it worked. please mark this post as solved.
  • QCoreApplication::sendEvent issue

    Solved
    4
    0 Votes
    4 Posts
    730 Views
    Cobra91151C
    During some code investigation, I found that break; actually breaks the application event loop and can not return to it when new Wlan state is registered, the Wlan API callback function receives different states. For example: It gets the wlan_notification_acm_connection_start state Then it emits signal to displays button text, then it breaks from switch New state is registered from the Wlan callback function, for example, wlan_notification_acm_connection_complete, but it can not return to this event anymore because it made a break early (it broke not only from the switch but also from this event loop). Also, possible to say it broke from the connect. That is why, I changed it to if/else: if (wlanNotificationData->NotificationCode == wlan_notification_acm_connection_start) { if (wlanNotificationData->dwDataSize != sizeof(WLAN_CONNECTION_NOTIFICATION_DATA)) { emit instance().notifDataSizeFailed(); return; } emit instance().apConnecting(); } else if (wlanNotificationData->NotificationCode == wlan_notification_acm_connection_complete) { ..... } Now it works well in Debug/Release modes. The issue is resolved.
  • Memory leak when using queued signal&slot connections

    8
    0 Votes
    8 Posts
    3k Views
    V
    uh uh, I am just being curious. But I think I'm gonna quit doing it right now, cause I really lack a basic understanding of how the OS deals with memory stuffs.
  • 0 Votes
    4 Posts
    303 Views
    SGaistS
    Hi and welcome to devnet, Use QFileDialog::getOpenFileName to get the file and then use QFile::copy to copy it to the destination you want.
  • Problem with QMYSQL

    Unsolved qmysql libmysql mysql library mingw
    8
    0 Votes
    8 Posts
    2k Views
    SGaistS
    Are you trying to move things around in the folder where you are currently doing the application deployment ?
  • Qthread and containers

    Unsolved
    6
    0 Votes
    6 Posts
    719 Views
    G
    thank you, very well, very exhaustive !!!
  • Slicing a QList

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    Kent-DorfmanK
    Are you a programmer? A programmer would know that the containers have several methods that return the length() of the container, thus allowing the operation you desire. Granted, you're never going to get the niceties that you get with python element acces such as list[0:-2] but for getting ranges you can easily accomplish using mid() and some math based on length() or count()
  • 0 Votes
    6 Posts
    2k Views
    maestro22M
    @sgaist Yep, I added a link to stack overflow. Concerning vlc I already looked at it but sadly there is some major drawbacks : -the documentation is poor or inexistant. -it does not allow fine tuning what you want at compile time as much as ffmpeg allows it (to reduce shared libs size). -it is partially based on ffmpeg anyway and I try to reduce as much as possible the amont of dependencies (for future compatibility and maintaining on my free time). Again thank you so much for the quick replies and the mailing list 🤩.
  • Getting JSON Response from an REST POST - application/json

    10
    0 Votes
    10 Posts
    3k Views
    G
    I think I narrowed it down more... I have tried more POST and GET requests on the server without any problems. But when the response is gzip encoded and is chunked I can't get the JSON that it should return. Can anybody help me with this?
  • Qt5.13 supportsSsl returns false

    Solved
    4
    0 Votes
    4 Posts
    462 Views
    MegamouseM
    Are there any official binaries that are simple to install/copy or recommend to users? Edit: I found some here http://wiki.overbyte.eu/wiki/index.php/ICS_Download I can confirm that the 1.1.1c binaries work.
  • I want to set a markline at Qchart,but I don't how to implementation。

    Unsolved
    1
    0 Votes
    1 Posts
    290 Views
    No one has replied