Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • table model with 3d input

    Unsolved
    5
    0 Votes
    5 Posts
    465 Views
    SGaistS
    Beside the very good point provide by @JonB, you should design your data structure in such a way that it also supports 3 dimensions. One of the first thing to make clear is whether all your matrices have the same size. In any cases, it should be your data structure that provides the information for the model to use. As for managing the third dimension, you should add an API to the model that allows to set the z value and then trigger a refresh of the model when it has changed so that the view can update themselves.
  • Qt for Windows IA64

    5
    0 Votes
    5 Posts
    3k Views
    D
    Hello. I have an IA64 system. I can test Qt on Windows IA64. Not just that, I am interested in using Qt 4.8 also. Qt framework will be very useful for me and I am willing to test.
  • This topic is deleted!

    Solved
    9
    0 Votes
    9 Posts
    86 Views
  • I want to build a gui from Scratch - I can QT C++ Api and Backend data in C++

    Unsolved
    2
    0 Votes
    2 Posts
    385 Views
    Axel SpoerlA
    @Qt-Enthusiast Start with examples and tutorials :-)
  • How to add context menu to QTableWidget ?

    Unsolved
    3
    0 Votes
    3 Posts
    270 Views
    SPlattenS
    @JonB said in How to add context menu to QTableWidget ?: QTableWidget context menu Thank you.
  • Borderless Window Flickering while resizing

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    D
    I also encountered this problem. I found relevant information in the official documentation, and finally found that using the following settings can eliminate flickering. But I don't know if it will have any effect on other components. But at least it works on framelesswindow flashing. QApplication.setAttribute(Qt.AA_NativeWindows) https://doc.qt.io/qtforpython-6/PySide6/QtWidgets/QWidget.html#creating-translucent-windows
  • QNetworkAccessManager constructor crash on macOS 11

    Unsolved
    2
    0 Votes
    2 Posts
    190 Views
    Axel SpoerlA
    @mjsmithers If solving the issue locally is an option, Homebrew can be used to upgrade ssh. Here is an old, but still useful tutorial about that. If the app can be shipped to and run on systems with older ssh versions, you may want to check e.g. QSslSocket::sslLibraryVersionNumber() and fail gracefully instead of rushing into a crash.
  • QIcon Gnome Tray Icon Distortion

    Solved
    2
    0 Votes
    2 Posts
    328 Views
    G
    @Grant-Carthew Well, there you go. Explaining an issue to somebody always helps. By typing up this issue I realized it could be the Gnome extension. I tried a different tray icon extension: https://extensions.gnome.org/extension/615/appindicator-support/ And the distortion is gone. Problem fixed. Sorry for the noise. I'll leave this here for anyone else who searches.
  • Interacting with model data directly or via the model's interface.

    Unsolved
    7
    0 Votes
    7 Posts
    543 Views
    E
    @SGaist Do you mean via setData? If so, it's not as nice an API as I could have if I had dedicated methods on the objects for setting specific variables, performing calculations and then setting, etc. Would you agree? I appreciate it's hard to quantify with the limited info I've given you, but very approximately, how many objects inheriting Q_OBJECT would it take for you to be concerned about overhead?
  • How to copy the entire subproject ? To where and be able to reload it...

    Unsolved
    5
    0 Votes
    5 Posts
    700 Views
    Pl45m4P
    @AnneRanch said in How to copy the entire subproject ? To where and be able to reload it...: I get "home" tree - not what I am looking for. But that's what you asked for... and you can see the path where your project is located.
  • QtTest can't create object

    Unsolved
    5
    0 Votes
    5 Posts
    291 Views
    M
    @JonB It's anather file in project. Maybe need add project with tests how sub project?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    9 Views
    No one has replied
  • Unable to Download Qt 5.15 and Creator 12 open source

    Solved
    3
    0 Votes
    3 Posts
    321 Views
    V
    @jsulm Thank you for sharing, I got a solution too which is given in this video. https://www.youtube.com/watch?v=jJuksIvwNoo
  • How to display clear images with QPixmap?

    Solved
    6
    0 Votes
    6 Posts
    575 Views
    Q
    @Christian-Ehrlicher Got it. Thanks for your answer.
  • How can I fix this Layout Allignment?

    Solved
    2
    0 Votes
    2 Posts
    170 Views
    jsulmJ
    @E-ray96 Add layout to your QGroupBox just like its documentation shows.
  • mac: suppress warning doesn't work?

    Unsolved
    5
    0 Votes
    5 Posts
    404 Views
    kkoehneK
    @davecotter QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-function QMAKE_CXXFLAGS_WARN_OFF += -Wunused-but-set-variable Consider just setting QMAKE_CXXFLAGS . the WARN_ON, WARN_OFF variants are only used if you set CONFIG += warn_on or CONFIG += warn_off, respectively. You can easily check whether the compiler options are set when doing a compile, and looking for either option in 'Compiler Output'. The suggestion from @helsouri only works if your warnings are not comping from the compiler, but from the IDE / clang. That is, do you get these warnings while editing code, or only after you do a compile?
  • opencv

    Unsolved
    4
    0 Votes
    4 Posts
    407 Views
    V
    @Pl45m4 ofcourse...it is well clear than any other documentation
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • How to add new options to the dock icon menu

    Solved macos dock dockmenu
    2
    0 Votes
    2 Posts
    460 Views
    M
    @vipul-g Look at QMenu::setAsDockMenu()
  • checking XML starting and ending tag with QDomDocument

    Solved
    3
    0 Votes
    3 Posts
    342 Views
    N
    @ChrisW67 Thanks, Chris, so before starting to process with QDomDocument, I must add a round of "syntax checking" with QXmlStreamReader. The correction is end tag<--start tag, because the creator usually modifies the starting tag at the beginning of a line after block copy ...then forgets to modify the end tag accordingly. Anyways, if notepad++ is used for editing, it warns of such errors. I only want to add a further checking for possible errors.