Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Qt Creator + Ubuntu 20.04

    Solved
    21
    0 Votes
    21 Posts
    14k Views
    S
    https://poe.com/s/fqPkHzQlb2YKt6j9JeAE
  • 0 Votes
    6 Posts
    1k Views
    Christian EhrlicherC
    @Pl45m4 said in Custom widget using and extending Qt's pImpl: It was just about the naming?! Is this the way? :) I would say yes.
  • When is the StyleSheet applied? - Not seeing 'font' updated.

    Unsolved
    3
    0 Votes
    3 Posts
    270 Views
    JonBJ
    @PValentine As @Christian-Ehrlicher has said, you cannot read the effects of stylesheet in Qt code. Try not to set font in code at the same time as using stylesheets. Are you aware there is a QTableView::item CSS selector? This affects all the table's items, there isn't a way of selecting individual ones.
  • QThreads: aggregating results from different threads on main GUI thread safe ?

    Solved
    12
    0 Votes
    12 Posts
    751 Views
    JonBJ
    @starkm42 Yes, if it is only multiple slots in a thread, including the main one, which access a resource then everything is occurring serially, no locking would be needed.
  • QImageReader: File not found

    Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    K
    @JonB I have also considered whether it is an issue with Android permissions, but I don’t know where to get the answer.
  • This topic is deleted!

    Unsolved
    16
    0 Votes
    16 Posts
    207 Views
  • QRemoteObjectHost connected nodes

    Unsolved
    3
    0 Votes
    3 Posts
    260 Views
    beeckscheB
    @Pl45m4 said in QRemoteObjectHost connected nodes: @beecksche Dunno if it's the right signal but maybe https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectAdded https://doc.qt.io/qt-6/qremoteobjectnode.html#remoteObjectRemoved to keep track of the current connections yourself That's what I thought at first. But if I understand the documentation correctly, the signal is emitted on enableRemoting(). The QRemoteObjectSourceLocation argument also contains no information about a client, only the hostUrl and typename.
  • QPSQL driver not loaded

    Solved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • Testing with multiple QTEST_APPLESS_MAIN

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    R
    @Paul-Colby Thank you for that detailed answer. I'm using qmake so I guess for now I will stick with that "old" structure. But your answer is bookmarked for future use :)
  • From qw5t to qwt6: qtconcurrentrun.h not found

    Unsolved
    3
    0 Votes
    3 Posts
    264 Views
    C
    Further to @Pl45m4's observation, look at the prototypes of the functions you used to pass QwtDoubleRect objects to and you probably see that they now take QRectF @rock37 , what is the connection between the title of this thread and the content of this thread?
  • Changing build directoy

    Solved
    12
    0 Votes
    12 Posts
    818 Views
    M
    @SGaist thank you for your help
  • Map Viewer custom provider

    Unsolved
    2
    0 Votes
    2 Posts
    229 Views
    SGaistS
    Hi, The usual way would be to follow the implementation done by the other plugins. Then you have to deploy it using the same folder structure in your application folder and it should be made available as the other plugins. If not, then you can copy your plugin beside the others in the Qt installation.
  • why i cant write to serial ? | Arduino Uno , QT 5.9.9 , C++ Question

    Unsolved serial arduino qt5.5.9
    4
    0 Votes
    4 Posts
    837 Views
    SGaistS
    Hi, In addition to @Pl45m4, you don't print any information if the opening of the serial port failed. Doing that will help track the issue.
  • Is it expected I have to update the parent widget myself with using QOpenGLWidget?

    Unsolved
    5
    0 Votes
    5 Posts
    456 Views
    KenAppleby 0K
    @NightShadeI Possibly related is that, on Windows, QtCreator's model editor used to have the same defect until the recent upgrade to QtCreator 12. It would leave behind graphics artefacts as you moved elements around. There may be clues in the QtCreator sources. By model editor I mean what you get when you "Add new..." => Modeling => Model
  • Qt5.12 is compatible with amazon linux 2023

    Unsolved
    2
    0 Votes
    2 Posts
    393 Views
    SGaistS
    Hi, Based on the AWS documentation, the answer is "currently no".
  • MySql where variable IN (:values) and bindValue()

    Solved
    2
    0 Votes
    2 Posts
    256 Views
    JonBJ
    @Seb-Tur You will find that you cannot bind to the list of values for an IN clause. Not supported by the driver. I think you would have to produce the actual IN ( ..., ... ) as a string for the query. Doubtless with caveats about injection. There may be MySQL possibilities to work around this, I don't know.
  • Put a widget in the MDI tabs bar

    Unsolved
    3
    0 Votes
    3 Posts
    465 Views
    P
    In fact I was wrong, the linked topic is about QTabWidget not QTabBar Anyone one know how I can do what is described ? ie adding a widget to the qtabbar. Thanks
  • ASSERT: "method.methodType() == QMetaMethod::Signal"

    Unsolved
    2
    0 Votes
    2 Posts
    251 Views
    Christian EhrlicherC
    Use a debugger and see from where it comes and fix your code.
  • QTableWidget, how to pick up changes?

    Unsolved
    7
    0 Votes
    7 Posts
    581 Views
    SPlattenS
    @JonB , thank you, I will take a look now.
  • Qt hangs when re-scaling Y axis

    Unsolved
    2
    0 Votes
    2 Posts
    231 Views
    Pl45m4P
    @richferrara said in Qt hangs when re-scaling Y axis: It doesn't happen every time -- only when the user selects certain data fields to be plotted. But then every time?! How do you update the x-axis? Via setRange? What else is happening while the axes are getting updated? Does the behavior change if you remove the axis and add a new one with updated scale? You could try that just to make sure that it's the axis and not some unwanted stuff happening with the data