Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Cross compile Qt 5.5.0 for raspberry CM3 lite

    Unsolved coss-compile raspberry cm3
    5
    0 Votes
    5 Posts
    2k Views
    ocgltdO
    Problem still exists in Qt 5.15.9 Would be nice if someone can post how they solved it (and moving to a later Qt5 version is not an option because 5.15.9 is the latest at this time)
  • Don't show hidden files with QFileSystemModel

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    G
    What about such option as show hidden files mac?
  • Setting QWebsocket SO_KEEPALIVE parameters

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    KutyusK
    Based on this, I managed to solve it: https://forum.qt.io/topic/106382/how-to-check-server-life-using-qwebsocket-ping-pong?_=1683206587457
  • Dropdown with the QTableView

    Unsolved
    4
    0 Votes
    4 Posts
    296 Views
    JonBJ
    @DerReisende Yes they would be consecutive, but how would that equate to any kind of "group node" in a QTableView which is "flat", and has no support for any kind of "grouping"? Besides which, there is no evidence there is any kind of "sorting by pt*" requested by the OP. These are rows. They are simply (apparently) always to be there, in pt1..100 order, no "sorting", "comparing" or "totalling" of any kind, no suggestion that only some are present. Unless OP has some quite different specification for what they are which has not been stated.
  • Need an advice for adding geopositional points to the map

    Solved
    3
    0 Votes
    3 Posts
    273 Views
    Atr0p0sA
    @JoeCFD Thanks, I guess it's time to get acquainted with qml :)
  • This topic is deleted!

    Unsolved
    8
    0 Votes
    8 Posts
    127 Views
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • How to compile for Arm/Raspberry

    Unsolved
    6
    0 Votes
    6 Posts
    413 Views
    B
    @ocgltd How about this: https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
  • How to edit a .qm file?

    Unsolved
    2
    0 Votes
    2 Posts
    7k Views
    Pl45m4P
    @Valso *.qm files are compiled *.ts (Translation Files) used at runtime to translate text in your GUI into different languages, if configured. It makes no sense trying to edit qm files. Edit your translations instead. Have a look at Qt Linguist for more information.
  • QCheckBox and QRadioButton not displaying boxes or marks

    Unsolved qt6 checkboxq qcheckbox
    6
    0 Votes
    6 Posts
    1k Views
    S
    @ChrisW67 It did not. I ended up reinstalling Linux and that seems to have fixed it. I still have the old install available so I'd like to find out the root cause still.
  • Multiple QRemoteObjectHost nodes for the same QObject?

    Solved
    2
    0 Votes
    2 Posts
    195 Views
    R
    @RogueWarrior Apparently not. You get an error if you try to have more than one host. However, if you use Avahi or some variant of Zeroconf and the host URL is hostname.local.:##### where hostname is the name of the machine and ##### is the port number you want to use, that gets resolved on any network interface. Note: it gives you a warning that it's attempting to resolve the name but it does work.
  • What do I have to do to see my plugins ?

    Unsolved
    2
    0 Votes
    2 Posts
    207 Views
    T
    @giorgik63 Do you mean after creating your plugin, you manually copied pasted dll under \YOUR_FOLDER\QtCreator\bin\plugins\designer and the paste did not work? Then that could be a question of writing permission. If not manually copied pasted, could you please first verify the dll wasn't created elsewhere under your project folder?
  • QRemoteObject Tcp examples

    1
    0 Votes
    1 Posts
    325 Views
    No one has replied
  • MarkdownDialectGitHub

    Solved
    3
    0 Votes
    3 Posts
    337 Views
    C
    @JonB That would explain why my underlined text is showing up as italic. Github dialect doesn't have 0x4000. But Qt 5 doesn't seem to have QTextMarkdownImporter. And weirdly: MarkdownDialectCommonMark = 0
  • 0 Votes
    3 Posts
    784 Views
    D
    @Jens-G As @JonB already said clazy complains about the temporary QList returned by .keys(). To prevent it you could either use QMapIterator or QMap::key_iterator to join your code. I made some quick and dirty "performance" measurements on my machine and STL-style key iterators seem to be consistently faster than the other methods: .join(): T1: "Bananas, Bread, Milk" Timing: 3900 nanoseconds. QMapIterator: T2: "Bananas, Bread, Milk" Timing: 4200 nanoseconds. STL-style: T3: "Bananas, Bread, Milk" Timing: 1500 nanoseconds. Done on Windows 11, Visual C++ 2022, Qt 6.5.0 Release mode with AVX2
  • QTextEdit Feature request

    Solved
    5
    0 Votes
    5 Posts
    318 Views
    JonBJ
    @clarify You go to https://bugreports.qt.io/, create your "Bug report" with the default Issue Type of Suggestion, and see what happens to it :)
  • QTextEdit remove list

    Solved
    6
    0 Votes
    6 Posts
    417 Views
    C
    @JonB I can confirm that the approach used on S.O. works. Thanks for that.
  • Question on using QRegularExpression

    Solved
    8
    0 Votes
    8 Posts
    803 Views
    L
    @JonB Right, that makes sense. I think what I have is the same I just decided to add a boolean for simplicity :)
  • Small gap in Qt documentation

    Solved
    5
    1 Votes
    5 Posts
    364 Views
    Z
    @kkoehne Yes, in QT 6.5 doc it is fixed. Thank you
  • Unable to save to remote location

    Unsolved
    6
    0 Votes
    6 Posts
    354 Views
    JonBJ
    @mahmoodn So however it does it (from Nautilus?) it maybe is different from however it does "opened a file from a remote location" in Creator? I don't know how you do that from Creator vs Nautilus/gedit, if Creator accepts drag&drop maybe you can try that from Nautilus instead of "open remote"?