Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 456.8k Posts
  • How to show sqlite db data as multi columns in QTableView Qt C++?

    Unsolved
    3
    0 Votes
    3 Posts
    336 Views
    Binary SoftB
    @SGaist Thanks
  • What 'Technology Preview' is

    Solved
    4
    0 Votes
    4 Posts
    718 Views
    ODБOïO
    Thank you
  • UTF-8 Encoding error after than Qt Creator 4.8.0 upgrade?

    Solved
    2
    0 Votes
    2 Posts
    451 Views
    MucipM
    Hi, I updated VS2017 Community and it works again. Regards, Mucip:)
  • How to display sqlite data as table view?

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    Binary SoftB
    @mrjj Thanks.
  • Add widget to layout programmatically

    Unsolved layout qwidget
    10
    0 Votes
    10 Posts
    9k Views
    J.HilkJ
    @kweber said in Add widget to layout programmatically: setLayout(ui->verticalLayout); my bad for posting untested code ui->centralWidget->setLayout(ui->verticalLayout);
  • using local server path in QML

    Solved
    4
    0 Votes
    4 Posts
    510 Views
    Pablo J. RoginaP
    @filipdns if your issue is solved, please don't forget to mark you post as such! thanks.
  • Could not find the Qt platform plugin "xcb" in ""

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    mrjjM
    Hi It needs its SO files. please see here http://doc.qt.io/qt-5/linux-deployment.html section Creating the Application Package there is also https://github.com/probonopd/linuxdeployqt to help copy the needed SO files.
  • Qt creator, issue after update to 4.8

    Unsolved debugger linking proble creator 4.8
    3
    0 Votes
    3 Posts
    773 Views
    dheerendraD
    This could be temporary issue. Change the configuration from debug to release. Qt Creator will try to reconfigure your project again. Now change back to debug. It will reconfigure again.
  • Singleton pattern with MinGW

    Solved mingw64 singleton
    5
    0 Votes
    5 Posts
    1k Views
    J
    @SGaist Thank you, but this is actually the class where I am creating the tables when database is empty and holding all the models and necessary functions to work on them. So it is fine in this case :)
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • how to get one common cell in QTableWidget

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    VRoninV
    The ideal solution is using a custom QStyledItemDelegate. If you can't be asked/want to delay the painful process you can design your label+button as a widget in designer and then use this delegate
  • Write/read struct to binary file using QDataStream

    Solved
    13
    0 Votes
    13 Posts
    5k Views
    ZgemboZ
    Thank you @jsulm and @VRonin . It works now!
  • Scoped enums, Meta Object and Stylesheets

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    N
    It works! Thanks.
  • "Image Gestures Example" from Qt does not work in desktop os?

    Unsolved
    3
    0 Votes
    3 Posts
    569 Views
    J.HilkJ
    @saber said in "Image Gestures Example" from Qt dose not work in desktop os?: is gesture support needs a touchscreen ,but only swipe gesture dose not need a touchscreen. Most questures need multiple touch points. 2 and more, Swipe technically only needs one finger to function correctly, so that may be the reason why that one works for you. Because Qt interprets any touch event as a "MouseEvent" you'll end up having problems on non touch screens. YOu'll have to do your own 1 finger gesture handling or connect more than 1 mouse.
  • 0 Votes
    3 Posts
    2k Views
    M
    Thanks for the input! I think I'm going to go with QGraphicsView for the notation and use QQuickWidgets throughout the other pieces of the UI that don't need access to the entire model. I'm hoping that won't be too complicated and will give me the best of both worlds. But I do wonder: is there a specific piece of Qt Quick that's supposed to a "replacement" for QGraphicsView? It seems like the scene graph is a bit too low level, but it's also the only way to gain a lot of control and keep things mostly on the C++ side. It would be nice if the built-in QML elements are exposed via a C++ API at some point.
  • How to set validator for all Line edit

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    ManiRonM
    @SGaist sure Sir
  • is there good way to realize this CustomWidget?

    Solved
    10
    0 Votes
    10 Posts
    1k Views
    dheerendraD
    i am using Windows.lol Did not understand your last comment. What do you mean by I'm using windows ? How is it related here ? & what is the context of 'lol' ?
  • How to implement 'Dynamic Spline Example' to a QMainWindow Project?

    Solved
    16
    0 Votes
    16 Posts
    2k Views
    dheerendraD
    Cool. Yes, This is the right way of doing. This is what we suggested you from the beginning.
  • This topic is deleted!

    Solved
    16
    0 Votes
    16 Posts
    173 Views
  • Qline Edit in QComboBox for search/filter

    Solved
    3
    0 Votes
    3 Posts
    540 Views
    M
    Thanks It helped me a lot