Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Use Qmodbus by udp

    Unsolved
    1
    0 Votes
    1 Posts
    147 Views
    No one has replied
  • How block/cancel specific IP adress

    Unsolved
    5
    0 Votes
    5 Posts
    448 Views
    gfxxG
    @Christian-Ehrlicher Real Thanks ... and happy sunday.
  • Create a native arm64 app

    Solved
    3
    0 Votes
    3 Posts
    813 Views
    C
    @SGaist aha, that's the reason. I tried Qt 6 libraries and found arm architecture, very good! Thanks a lot
  • Issues adding QTimer to a custom class

    Unsolved
    12
    0 Votes
    12 Posts
    850 Views
    jeremy_kJ
    @JonB said in Issues adding QTimer to a custom class: @KenAppleby-0 Yes, of course you could always raise a subsequent signal by connecting the first signal to a slot method or lambda which emits the second signal but Qt allows to connect directly to another signal for "chaining". I don't know whether this is documented, It is documented, in the second to last paragraph of the Signals and Slots section. You can connect as many signals as you want to a single slot, and a signal can be connected to as many slots as you need. It is even possible to connect a signal directly to another signal. (This will emit the second signal immediately whenever the first is emitted.)
  • QCompleter custom model not working

    Unsolved
    3
    0 Votes
    3 Posts
    262 Views
    H
    @mpergand Sorry to not included the full code, I already done that. But the result is same, no popup came while start typing.
  • 0 Votes
    4 Posts
    395 Views
    A
    @DerReisende that was it: I put that in main.cpp, and now I can create thousands of threads. And now I know about getrlimit & setrlimit, which I had never seen before. THANK YOU!
  • Qt WinRT app crashes when changing title bar color

    Unsolved
    1
    0 Votes
    1 Posts
    190 Views
    No one has replied
  • In rubber band rectangle zoom in, rectangle is not visible.

    Unsolved
    8
    0 Votes
    8 Posts
    710 Views
    SGaistS
    Ok, is see the issue: I took you use the QRubberBand class for your purpose. Based on what you want to do, it seems it would be simpler. The rubber band being independent of the view will also not be dependent of if for its rendering.
  • Loading Large Images

    Unsolved
    8
    0 Votes
    8 Posts
    946 Views
    I
    @Christian-Ehrlicher Setting the allocationLimit solves the issue. Thank you.
  • Where do I add -v to "linker command" in QtCreator?

    Unsolved
    1
    0 Votes
    1 Posts
    147 Views
    No one has replied
  • How to load a widget from a ui file saved in resource?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    kshegunovK
    @mpergand said in How to load a widget from a ui file saved in resource?: To be honest, I don't get the goal to have a ui file as a resource ... There are niche uses where you want the UI to be built at runtime (connecting signals/slots at runtime etc.) instead of compiling it in via the code generated by uic. That way you can change the UI without actually rebuilding the application/library, but it is rare.
  • Paucal rules may be wrong

    Unsolved
    4
    0 Votes
    4 Posts
    394 Views
    PerdrixP
    @ChrisW67 👍
  • Qt Creator NEEDS Copilot

    Unsolved
    2
    1 Votes
    2 Posts
    3k Views
    piervalliP
    @MrShawn There are working in progress. https://bugreports.qt.io/browse/QTCREATORBUG-27771
  • Sizing border of Dock Widget

    Unsolved
    1
    0 Votes
    1 Posts
    145 Views
    No one has replied
  • can not display a video with qml sink within qwidgets layout

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    JoeCFDJ
    @JoeCFD got a test case and it works. https://github.com/zt-luo/QuickWidgetPlayer
  • Remove the textfield near the checkable QTableView cells

    Solved
    5
    0 Votes
    5 Posts
    389 Views
    lmofallisL
    @Christian-Ehrlicher It's working. But, I have 2 questions: 1- I'm not used to work with delegate. So Is is a good solution? 2- How can I minimize the column width to fit the checkbox? [image: 5634762c-840c-4c0d-a714-ad13414f32f7.png]
  • Alternative for QMediaPlayer on embedded system.

    Unsolved
    4
    0 Votes
    4 Posts
    451 Views
    SGaistS
    One thing you can do is move all other plugins in a different folder.
  • How to get building time w QT Creator

    Unsolved
    5
    0 Votes
    5 Posts
    533 Views
    sierdzioS
    Yes, miliseconds is an overkill. You will get different results in seconds for different runs. Compilation time depends on a lot of things you have little control over: maybe OS is doing something in the background? antivirus can be scanning some file just as you build your project your CPU is a bit hotter because it did some heavy tasks a few seconds ago, so boost clocks will behave differently maybe the day is a bit warmer and will affect boost clocks as well is cmake cache cold, does cmake need to re-run? is ccache used? is unity build used? and many, many more On my current project, the whole compilation (when both ccache and unity builds are turned off) will take about 2 minutes +- 5 seconds. Using miliseconds here gives no benefit, it might only prompt you to do needless optimisation.
  • discoveryAgent_service->start(); fails "FullDiscovery"

    Unsolved
    2
    0 Votes
    2 Posts
    148 Views
    Christian EhrlicherC
    If you would do some error checking I would guess that QBluetoothDeviceDiscoveryAgent::error() will return QBluetoothDeviceDiscoveryAgent::UnsupportedDiscoveryMethod after calling discoveryAgent_service->start(QBluetoothServiceDiscoveryAgent:: FullDiscovery); but better blame Qt - it's easier.
  • connect does not output to form

    Unsolved
    3
    0 Votes
    3 Posts
    246 Views
    A
    @J-Hilk "Fixed" ?? by OS update and reboot ... no comments