Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • PeakCAN receives unrecognized packages

    Solved
    4
    0 Votes
    4 Posts
    464 Views
    Pablo J. RoginaP
    @ChristophFroe said in PeakCAN receives unrecognized packages: work fine now so please don't forget to mark your post as solved! thanks.
  • QTimer stop working after connecting mqtt

    Solved
    10
    0 Votes
    10 Posts
    844 Views
    R
    When I create QTimer and connect in a separate Thread all is working now.
  • QML or Widgets

    Unsolved
    8
    0 Votes
    8 Posts
    14k Views
    KevinMQtK
    @BKBK The Qt Documentation is a great resource for the differences between QML and QT Widgets. You can start here. https://doc.qt.io/qt-5/topics-ui.html For embedded, Bo Thorsen (CEO of Viking Software) says QML is good for Embedded because: It's well suited for adding animation. It's great for simple UI's. Creating your own custom look'n'feel UI. The talk is from 2017: https://www.youtube.com/watch?v=Vh7BxaYuszo (21:36 - 24:05)
  • [C++] WolfSSL + Qt

    Unsolved
    2
    0 Votes
    2 Posts
    439 Views
    crash_testC
    Hello, Thank you for your interest in wolfSSL + Qt. wolfSSL has recently been expanded to support Qt's Network/SSL API. This would allow you to setup a wolfSSL client/server using Qt API. The changes to wolfSSL that enable Qt support are pending official release. In the meantime, you can email support@wolfssl.com to receive a copy of wolfSSL that supports Qt. For the fastest wolfSSL support, email support@wolfssl.com with your use case, questions, and requests. Thank you.
  • Can I get the real type of QVariant params?

    Unsolved
    4
    0 Votes
    4 Posts
    490 Views
    Pl45m4P
    @Mihan said in Can I get the real type of QVariant params?: BTW, can I connect a normal signal of a widget and a slot with a QVariant param? Sure you can. connect(myclass, &MyClass::mySignal, this, &QMainWindow::DoSomething); where mySignal void mySignal(QVariant val); and DoSomething slot: void QMainWindow::DoSomething(QVariant val) { // Do something with Variant val }
  • QScrollArea causes crash on close()

    Solved
    5
    0 Votes
    5 Posts
    727 Views
    U
    @Christian-Ehrlicher Indeed, updating to 5.12.5 solved the problem. Thanks!
  • QCosmeticStroker integer overflow Qt 5.12.4

    Unsolved
    5
    0 Votes
    5 Posts
    587 Views
    MikhailGM
    @VRonin said in QCosmeticStroker integer overflow Qt 5.12.4: line 34 of charpainterproxydecorator.cpp [image: dd9b7401-aa2b-47b9-b9f7-1c4c0e53ee48.png] ChartPainterProxyDecorator is derived class from our custom class which has no superiors. targetRef() - is a reference to a QPainter
  • combine imageviewer and scribble examples

    Unsolved
    1
    0 Votes
    1 Posts
    149 Views
    No one has replied
  • Draw QPixmap in DrawBackground method from QGraphicsView

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    H
    @jsulm @Pl45m4 okay, but it keeps repeating the image and I would like there to be just 1 image, that can be zoomed in and out. Do you know how to do that?
  • QDateTime::currentDateTime() sometimes return ???

    Solved
    8
    0 Votes
    8 Posts
    9k Views
    A
    @Cobra91151 That's what I wanted to do. Thank you!
  • macOS 10.15 Catalina notarization appears to break QWebEngineView

    Unsolved
    3
    0 Votes
    3 Posts
    695 Views
    SGaistS
    Hi, Glad you found out and thanks for sharing it. Please mark the thread as solved using the "Topic Tools" button so that other forum members may know a solution has been found :-)
  • [Bug] Why QDialog display empty rarely.

    Unsolved
    17
    0 Votes
    17 Posts
    2k Views
    Christian EhrlicherC
    Maybe related to https://forum.qt.io/topic/107728/qscrollarea-causes-crash-on-close/4 ? Please try with 5.12.5
  • How to detect if compiling on 32 bit or 64 bit platform in .pro file?

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    jsulmJ
    @brucezcg Try one of the suggested solutions: https://stackoverflow.com/questions/356666/identifier-for-win64-configuration-in-qmake
  • Qt C++ Animation 3D

    Unsolved
    2
    0 Votes
    2 Posts
    292 Views
    X
    @Orad sorry to barge. But how is it on QML?
  • stdlib.h not found

    Solved
    6
    0 Votes
    6 Posts
    3k Views
    taku-sT
    It was a mistake to say that updating solved the problem. Definitely, once I was able to build and run, the next error was the same. I tried out Pablo J. Rogina's “number of passes problem” and now I can build it. Thank you very mutch. But I can't rest assured. This time, it is a path automatically created by QtCreator, but when I added an absolute path manually, I saw the same error. For the time being, let's see the situation
  • PyQt reset tableView

    Solved
    18
    0 Votes
    18 Posts
    7k Views
    SGaistS
    No problem with that.
  • QTooltip on readOnly widget

    Unsolved
    6
    0 Votes
    6 Posts
    535 Views
    mrjjM
    Hi Yeah it does seem so. I installed 5.5 and to my surprise the same sample did still show tooltip :) Please mark as solved then :)
  • Unable to login using qtnetworkaccessmanager , but able to login using postman tool

    Unsolved
    4
    0 Votes
    4 Posts
    322 Views
    mrjjM
    @QTDevPal It looks correct. Maybe it only triggers with HTTPS links. Since you use QNetworkAccessManager::finished signal, we can rule out the normal suspects that event loop is not running etc. It was worth a shot :) Give it some more hours and maybe someone has an idea of why setRawHeader seems not to work. (it should as far as i know)
  • qt5 compile problem with QTabWidget::hasHeightForWidth()

    Solved
    7
    0 Votes
    7 Posts
    806 Views
    Christian EhrlicherC
    @jschwartzman said in qt5 compile problem with QTabWidget::hasHeightForWidth(): needed to add -isystem /usr/include/qt5/QtWidgets to INCPATH in Makefile needed to add /usr/lib64/libQt5Widgets.so to LIBS in Makefile needed to add -DQT_NO_PRINTER to DEFINES in Makefile This is not needed when you properly add the needed modules (widgets, printsupport) in the pro file. See https://doc.qt.io/qt-5/qtwidgets-index.html
  • Indexes problem with QSortFIlterProxyModel and QStringListModel

    Solved
    2
    0 Votes
    2 Posts
    244 Views
    VRoninV
    just call QSortFilterProxyModel::mapToSource to convert a fitered index to the original one