Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Worker/Controller multi-threading and interface class

    Unsolved
    4
    0 Votes
    4 Posts
    327 Views
    F
    @kent-dorfman I tried. The lambda is not executed.
  • BindValue() in QPSQL is not working?

    Solved qsqlquery postgresql sqldriver sql
    13
    0 Votes
    13 Posts
    4k Views
    Christian EhrlicherC
    @bartoszpaj said in BindValue() in QPSQL is not working?: driver()->hasFeature(QSqlDriver::NamedPlaceholders) returns false. Good catch. I think it's because support for PostgreSQL 10 was added in a later version. If the version is not known to the driver it will fall back to the oldest.
  • QSqlQuery for ms access database

    Solved
    24
    0 Votes
    24 Posts
    4k Views
    behruz montazeriB
    @ronaldviscarral Thank you very much it works now.
  • QPrinter problem in Qt-5.13.0 with Xcode 10.3

    Solved
    4
    0 Votes
    4 Posts
    535 Views
    S
    Ah ha! Solved. I was using the wrong version of qmake to build the project. All sorted now.
  • Read JSON WITHOUT readAll()

    Solved
    2
    0 Votes
    2 Posts
    362 Views
    Kent-DorfmanK
    doubtful...the json is a document format. so, to be parsed correctly it needs to be cached somewhere. The readall() pulls the whole document into memory so that it can be parsed.
  • Custom Input: QLineEdit

    Solved
    3
    0 Votes
    3 Posts
    394 Views
    F
    @sgaist that's right! Thank you! QLineEdit *myLineEdit = new QLineEdit(this); QAction *myAction = myLineEdit->addAction(QIcon("test.png"), QLineEdit::TrailingPosition); connect(myAction, &QAction::triggered, this, &MyClass::onActionTriggered);
  • Using QPainterPath to generate more complex "images"

    Unsolved
    9
    0 Votes
    9 Posts
    778 Views
    M
    If I'm looking at the doc, I see: Header: #include <QGraphicsSvgItem> qmake: QT += svg Have you add this to your pro file ?
  • can i use lib from qt 5.11 with qt 5.3 ?

    Unsolved
    4
    0 Votes
    4 Posts
    315 Views
    A
    @christian-ehrlicher That's what I feared . so , thanks, i will manage with this.
  • 0 Votes
    3 Posts
    464 Views
    Gojir4G
    @sonichy said in How to recognize QNetWorkReply.Error() form QNetWorkManager.get() or QNetWorkManager.put(): QNetworkAccessManager manager; Just for clarify, is your instance of QNetworkAccessManager still alive at the time your slots are called ? Because as you are declaring it on the stack, it may be already destroyed and I presume it will also destroy internal QNetworkReply objects.
  • plasmoids disappear

    Unsolved
    7
    0 Votes
    7 Posts
    507 Views
    SGaistS
    Where did you open that thread ?
  • Threads in PyQt and opencv

    Unsolved
    3
    0 Votes
    3 Posts
    586 Views
    Pablo J. RoginaP
    @iammhz said in Threads in PyQt and opencv: when i click other buttons , they can't access the Webcam What if you just have only one method/thread to access the webcam, independent on which button is actually pressed, and when the image is captured then pass that image to the specific processing method/thread depending on the button/effect pressed. This way you'll avoid the bottleneck of "sharing" the webcam among threads
  • Pointer to QByteArray as LPBYTE

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    R
    @christian-ehrlicher Yes I know. I was trying to state in my comments that I obtained the byte array and was continuing. I agree that was not clear. I have solved the issue - my test jpg file had a non-compliant embedded profile. Many thanks for taking the time to help!
  • Text is blurred with QQuickPaintedItem

    Unsolved
    2
    0 Votes
    2 Posts
    232 Views
    RatzzR
    @devoo Are you trying to change textureSize of QQuickPaintedItem Class ?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • How to draw graphics like AutoCAD implement coordinate system and zoom

    Solved
    8
    0 Votes
    8 Posts
    1k Views
    mrjjM
    @ofmrew please be sure to post book name in https://forum.qt.io/category/6/announcements :) (when its ready)
  • Qtcreator which is compiled by myself can not run

    Solved
    6
    0 Votes
    6 Posts
    851 Views
    S
    The best method to solve dependence problem is setting the environment variable. ``` C:\qt\qt-5.13.0-deploy\bin ``` But you should know it is a bad method for multiple qt.
  • Which is the correct way to create a pause/waiting in QT?

    Solved
    11
    0 Votes
    11 Posts
    5k Views
    E
    @jonb Okay, I got it. Thanks bro!
  • Show application locally and over WebGL

    Solved
    3
    0 Votes
    3 Posts
    275 Views
    G
    According to this video, it should be possible to run the application both locally and remotely: https://vimeo.com/304349023
  • calling glCopyTexImage2D on QOpenGLTexture raises "immutable" error

    Unsolved
    1
    0 Votes
    1 Posts
    224 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied