Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • Emitting signals from std::thread

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    A
    As it turns out, a user defined enum class was being emitted as signal. This type needs to be registered. The strange thing was no errors in console however. It is working as intended now.
  • CentralWidget as blank page

    Moved Unsolved
    2
    0 Votes
    2 Posts
    283 Views
    VRoninV
    Create a QWidget, set the grid layout on it and then make that one as the central widget
  • Missing ScrollBar

    Unsolved
    6
    0 Votes
    6 Posts
    859 Views
    Christian EhrlicherC
    @ModelTech said in Missing ScrollBar: However, without setting the number of columns to 2 it has however no effect... The scrollbar is show, after you e.g. called resizeColumnToContents(). Just tested it in the designer
  • QAbstractTableModel: Storing information that is not shown by the QTableView

    Unsolved
    10
    1 Votes
    10 Posts
    1k Views
    VRoninV
    I have followed the Address Book Example to create my own TableModel If you are creating your custom model, why don't you just store the MyPatient items directly and just reimplement data() to return the field you prefer? @fcarney said in QAbstractTableModel: Storing information that is not shown by the QTableView: When I tried to create an interface for both a QTableView and a TableView it seemed like I had to implement different things to get them to work. TL;DR: from Qt 5.12 onward QTableView and TableView can be used with almost no change in the interface This is currently changing. The QML tableview used to be basically multiple listviews squashed together, it's now evolving https://blog.qt.io/blog/2018/08/29/tableview/ and a treeview is also in the pipeline.
  • QIBASE plugin for linux and RPI

    Unsolved
    1
    0 Votes
    1 Posts
    169 Views
    No one has replied
  • Error in using MultiPageWidget from QtDesigner

    Solved
    15
    1 Votes
    15 Posts
    2k Views
    M
    @mrjj i've 4 gb Ram when i use Qt5 and compile the code the memory usage reaches about 2.9 GB maybe more but i ain't know why only Qt5 make the system freezing (but i'll try the new upgrade of the system and see it again )
  • QFileSystemModel + QTreeView doesn't sort

    Unsolved
    2
    0 Votes
    2 Posts
    532 Views
    ZueukZ
    For me it sorts 2nd+ level folders, but not the top level ones that are drives. The "dirview" example sorts everything. (edit) changed the rootPath from "C:/" to "", now it sorts everything.
  • running own script in opened QT console

    Unsolved
    2
    0 Votes
    2 Posts
    396 Views
    SGaistS
    Hi and welcome to devnet, You should rather ask the author of that project, he will likely be more able to answer that question.
  • Setting up QT Creator Debugger on Windows

    Unsolved
    1
    2 Votes
    1 Posts
    975 Views
    No one has replied
  • QNetworkAccessManager to a HTTPS troubles

    Solved
    22
    0 Votes
    22 Posts
    6k Views
    JKSHJ
    I'm glad to hear that it's working for you now! @reonZ said in QNetworkAccessManager to a HTTPS troubles: 3/ QSslSocket::sslLibraryBuildVersionString() returns OpenSSL 1.0.2p 14 Aug 2018 Apologies, I gave you wrong information earlier. This result shows that Qt was built against OpenSSL 1.0.2, not 1.1.0.
  • It's just me, or Qt3D applications have awful performance?

    Unsolved
    7
    1 Votes
    7 Posts
    1k Views
    kshegunovK
    In addition to @mrjj, what does the nvidia driver utility say?
  • Sol key, staff and notes

    Unsolved
    2
    0 Votes
    2 Posts
    368 Views
    M
    This is way more than you need, but you could take inspiration from MuseScore: https://github.com/musescore/MuseScore
  • Developing a code difference widget

    Unsolved
    4
    0 Votes
    4 Posts
    839 Views
    aha_1980A
    Hi @Fuchsiaff How about meld? It uses the wrong framework (GNOME) but is written in Python. You can also look up the diff page in Wikipedia.
  • Application that suits all resolution

    Unsolved
    8
    0 Votes
    8 Posts
    893 Views
    mrjjM
    @ManiRon Hi There is no scrollbar for whole application. For such effect, all the widget must be in a QScrollArea which then would show the scrollbars.
  • Move QT5 application to left or right with kdb shortcuts on Ubuntu 18.04

    Unsolved
    4
    0 Votes
    4 Posts
    516 Views
    J
    I've created a very simple application and it responds well to Super+Left Arrow or Super+Right Arrow. So, the default behaviour is to behave as expected. I'll try to find out where in QGIS this behaviour is disabled.
  • linker errors for QWidget

    Unsolved
    6
    0 Votes
    6 Posts
    840 Views
    SGaistS
    Then add the Qt Widget module to the list of dependencies of your project.
  • build error

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    aha_1980A
    @MohsinM. So please mark this topic as SOLVED. Thanks!
  • QSS Styling Tip HELP!!!

    Unsolved
    2
    0 Votes
    2 Posts
    309 Views
    SGaistS
    Hi and welcome to devnet, AFAIK, You can't, layouts have no visual appearances. What exactly are you trying to achieve ? If you don't want the children widgets to be modified, you have to limit precisely the scope of your QSS.
  • Building Qt5 with OpenSSL support using VS 2015

    Unsolved
    23
    0 Votes
    23 Posts
    9k Views
    SGaistS
    No, examples are just normal projects. You can open them in Qt Creator and build them from there.
  • Connecting to signal of another class

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    K
    @mranger90 thanks yes that would be an issue wouldn't it. I'm a C programmer that's rather new to C++, I was actually reading about construction order but had it mixed around in my head. This makes sense, thanks!