Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • How to cross-compile QT App on RPi3

    Unsolved
    8
    0 Votes
    8 Posts
    583 Views
    KroMignonK
    @dziko147 said in How to cross-compile QT App on RPi3: I would like to use the kernel image generated by buildroot not Raspbian distribution What did you add to your custom buildroot image? You must, at least, have add QT5 support.
  • 0 Votes
    14 Posts
    1k Views
    B
    @jsulm @Christian-Ehrlicher Thx. Issue solved. Everything works fine for me now. Example published here
  • This topic is deleted!

    Unsolved
    14
    0 Votes
    14 Posts
    73 Views
  • Timer blocking applications - reactivation

    Solved
    4
    0 Votes
    4 Posts
    459 Views
    VRoninV
    Threads are a minefield. For example, in your code if this gets deleted before the other thread finishes your program would crash
  • Connection QT and NCReport

    Unsolved
    3
    0 Votes
    3 Posts
    332 Views
    O
    @jsulm thank you
  • Getting - Controller Error: QLowEnergyController::ConectionError

    Unsolved
    6
    0 Votes
    6 Posts
    976 Views
    Pl45m4P
    @sarthak031 You are using this example (https://github.com/Gawhary/BLE-Tester), aren't you? Where exactly the error occurs (use debugger)? Is your device BLE ready? Test your connection using the official BTLE examples https://doc.qt.io/qt-5/qtbluetooth-le-overview.html#using-qt-bluetooth-low-energy-api https://doc.qt.io/qt-5/qtbluetooth-lowenergyscanner-example.html
  • Updated Qt Creator - "Plugin Loader Messages" at startup

    Unsolved
    1
    0 Votes
    1 Posts
    155 Views
    No one has replied
  • How to clear the old selected item, when new one is selected

    Unsolved qt5 table widget
    5
    0 Votes
    5 Posts
    800 Views
    artwawA
    @suslucoder have you tried setSelectionMode(QAbstractItemView::SingleSelection); on your table widget? Seems like you try to implement behaviour that's already there. https://doc.qt.io/qt-5/qabstractitemview.html#SelectionMode-enum https://doc.qt.io/qt-5/qabstractitemview.html#selectionMode-prop
  • sharing projects in qt

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    A
    @J-Hilk I i have done the same thing as you described. However i deleted pro.user file and build folder . Thanks for the answer. There are some hidden files which i copied. So error is from that.
  • I need a connection to my SQL database to my exam project

    Unsolved
    3
    0 Votes
    3 Posts
    182 Views
    K
    Hi and welcome to devnet forum The best start for you would be using a Qt creator installation with appropriate Qt lib version. For a starter Qt version 5.15 for the Qt libs is better. There are a couple of example projects with SQL available. Try those.
  • Compilation errors with Qt6 and QtConcurrent::run

    Solved
    11
    0 Votes
    11 Posts
    974 Views
    Christian EhrlicherC
    @Dvassily I think it would be interesting for others what the problem was. And don't forget to mark the thread as solved then.
  • Q3D: creating custom geometry class C++

    Unsolved
    3
    0 Votes
    3 Posts
    442 Views
    V
    Thanks a lot! I've made what I planed[image: f010deb3-9d56-49aa-964d-086cd1d6b463.png] Now I just need to fix some minor bugs
  • Strange qt pushbutton behavior

    Unsolved
    4
    0 Votes
    4 Posts
    322 Views
    JonBJ
    @lagodolio said in Strange qt pushbutton behavior: @jsulm Hello... I changed my mouse and no more problems occour! LOL :)
  • Context menu text indentation

    Unsolved
    3
    0 Votes
    3 Posts
    278 Views
    A
    @Christian-Ehrlicher I see, thanks so much.
  • Dynamic Language Change

    Unsolved
    7
    0 Votes
    7 Posts
    677 Views
    J.HilkJ
    @Alpkan It's not, changeEvent has its root in QWidget not in QObject you can't simply name a function changeEvent in a non QWidget based class and expect it to behave like a QWidget. I think you want to notify your QObject based classes that a new language has been set and they should change their strings, right? You'll have to find a way to notify them yourself. There are countless ways, but - afaik - no ready made Qt ways
  • Connecting and reading data from multiple QTcpSockets with QTcpServer

    Solved
    4
    0 Votes
    4 Posts
    535 Views
    jsulmJ
    @cdecde57 There is no need for sender(). You're already using a lambda as slot, so simply capture the sender: connect(newConnection, &QTcpSocket::readyRead, this, [newConnection, this](){ reading(newConnection); });
  • How to change appearance of drop down area of QComboBox

    Solved
    2
    0 Votes
    2 Posts
    4k Views
    Pl45m4P
    @cerr Check out QComboBox's stylesheet options: https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcombobox The drop down/ pop up menu is a QAbstractItemView which can be customized with stylesheet as well.
  • Problems to adjust QGridLayout to requirements

    Solved qgridlayout qtcreator 3.5.1 pyqt4
    5
    0 Votes
    5 Posts
    1k Views
    cerrC
    @nagesh Haha :boom: I knew it was something along these lines: "select combo box and expand horizontally in right direction it should occupy the empty space right to it" Shame on me and awesome! Thank you very much! lol I never asked that question, right? :D
  • Measuring frame rendering time

    Unsolved
    18
    0 Votes
    18 Posts
    2k Views
    mrjbomM
    @nagesh Got it! This is what I need. To be more precise, QOpenGLTimeMonitor () helped me. Thank you for your help.
  • Why is it QTCreator can't find QOpenGLVertexArrayObject

    Unsolved
    2
    0 Votes
    2 Posts
    180 Views
    mrjjM
    Hi What is the actual error ? #include <QOpenGLVertexArrayObject> should do it.