Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Unsolved
    Log in to post
    • All categories
    • Y

      Unsolved High performance image blending
      General and Desktop • • yalee

      1
      0
      Votes
      1
      Posts
      6
      Views

      No one has replied

    • L

      Unsolved Error feature XXX was enable but preconditions YYY failed, compiling qt on RPi3
      Installation and Deployment • • Lightshadown

      1
      0
      Votes
      1
      Posts
      1
      Views

      No one has replied

    • tovax

      Unsolved Unix signals and QCharts cause application blocking
      Mobile and Embedded • • tovax

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • N

      Unsolved No matter what, QT Creator refuses to 'see' the included qml file
      QML and Qt Quick • • niquedegraaff

      1
      0
      Votes
      1
      Posts
      3
      Views

      No one has replied

    • S

      Unsolved IMX8M Plus Qt Creator deploy
      Mobile and Embedded • • Stan88

      1
      0
      Votes
      1
      Posts
      12
      Views

      No one has replied

    • H

      Unsolved QEvent::UpdateRequest is too slow
      Mobile and Embedded • opengl es qt 6.4.2 performance optimization opengl • • hexo

      4
      0
      Votes
      4
      Posts
      13
      Views

      SGaist

      The widgets module is not optimized for mobile so there might be other issues at hand.

    • A

      Unsolved Qt6.4: how to record a renderd camera video
      General and Desktop • • Alex_Koeppel

      1
      0
      Votes
      1
      Posts
      7
      Views

      No one has replied

    • ocgltd

      Unsolved Cross-compiling for Raspbian from x86_64 Linux
      QtonPi • • ocgltd

      1
      0
      Votes
      1
      Posts
      9
      Views

      No one has replied

    • M

      Unsolved How to write specific tag in existing XML using QXmlStreamWriter ?
      General and Desktop • • MECoder

      2
      0
      Votes
      2
      Posts
      12
      Views

      JonB

      @MECoder said in How to write specific tag in existing XML using QXmlStreamWriter ?:

      How can i write to a specific tag in an existing XML file without writing the complete XML fiel again?

      You can't update an actual XML text file (just like you can't for any text file). You have to rewrite the whole new XML over the whole file.

    • Perdrix

      Unsolved Not painting
      General and Desktop • • Perdrix

      2
      0
      Votes
      2
      Posts
      20
      Views

      Axel Spoerl

      Hi David,

      There's also a docked dock widget.
      When I first load an image and click on it the mousePressEvent of the top window is driven which in turn calls update() to drive paintEvent(). I have qDebug() code in the paintEvent code so I know the rectangles I want are being drawn.

      Just to be sure:
      From the window handle, it looks as if "Registering and Stacking" on the left is the dock widget.
      The widget on the right is where the rectangles are being drawn, but not shown (I'll call it Sky-Widget)
      When you undock the dock widget or resize the main window, the rectangles suddenly show up on the Sky-Widget.

      stuff drawn in paintEvent is not visible

      I have a widget (SelectRect) that (I am fairly sure) is on top of another widget that displays an image

      I can't download anything from dropbox, so I don't know the code of SelectRect. But from the name, I would guess that a new SelectRect is instantiated each time the user draws a rectangle.
      So here's a a poke in the dark:

      The initial Z-order of Sky-Widget and SelectRect doesn't reflect what should be shown. The rectangles are in the background or even hidden (qDebug() << __FUNCTION__ << isVisible();at the end of paintEventwill tell). There is a code path somewhere in the application source, that sets the Z-order right. That code path is not entered after the rectangles have been drawn. The Z-order code path is, however, entered when the main window consumes an updateEvent: That's the case when it's being resized or the dock widget is undocked. Once the Z-order is correct, there are no more problems (Z-orders do not change automagically...).

      => somewhere in the code QWidget::show()or QWidget::raise() is probably called on SelectRect.
      Throwing a few qDebugs into the neighborhood may bring some more insight.

      Cheers
      Axel

    • T

      Unsolved How to implement collapsible sidebar with QSplitter that can be toggled with a button
      General and Desktop • • tsup

      2
      0
      Votes
      2
      Posts
      17
      Views

      Z

      I use the following and it works:
      pcoSplitter->setSizes({ pcoSplitter->size().width(), 0 });

    • Z

      Unsolved QMediaPlayer - setPosition() problem
      General and Desktop • • Zbigniew-Sch

      4
      0
      Votes
      4
      Posts
      24
      Views

      B

      @Zbigniew-Sch Do you set the position before or right after you call play()?
      You need wait the player to load and buffer the media.
      connect the mediaStatusChanged signal and set the postion when the status is QMediaPlayer::BufferedMedia.

    • S

      Unsolved Error while building/deploying project untitled (kit: Desktop Qt 6.4.3 MinGW 64-bit) When executing step "Make"
      Installation and Deployment • • Sonal Jain

      8
      0
      Votes
      8
      Posts
      15
      Views

      S

      @SGaist
      The path is set in Qt like this:

      d49ba81c-de15-4997-a340-24df8493afed-image.png

      Is it okay?

    • 1

      Unsolved same problem but QPSQL DRIVER NOT LOADED
      General and Desktop • • 12bibi12

      4
      0
      Votes
      4
      Posts
      14
      Views

      JonB

      @12bibi12
      If you read @jsulm's linked thread properly you see it has nothing to do with .pro file or "makelist". It's an environment variable which needs to be set at runtime. If you use Creator it has a Run Environment you can alter.

    • D

      Unsolved Edit TexEdit by click
      QML and Qt Quick • • Damian7546

      2
      0
      Votes
      2
      Posts
      10
      Views

      A

      @Damian7546 said in Edit TexEdit by click:

      In my TextEdit I would like to add function. I would like to click to actual value and edit them. Now I have code like below:

      Hi could you please be more explicit about what you actually want to do ? In my world, when you click any text editor, you enter the edit mode and then you can edit the value.

      Of what I understand from your code, you want your input to be wholly selected, I'd rather pick for selectAll() method. Whereas to the property to be monitored, I'd rather pick for the TextEdit's onCursorVisibleChanged one, testing of course whether the cursor is actually visible or not.

      By the way, your anchors seem very weird, as I understand it your horizontalCenter would be higher than the top.

    • P

      Unsolved Swap rows QTableWidget
      General and Desktop • • Paddle

      12
      1
      Votes
      12
      Posts
      35
      Views

      SGaist

      Hi,

      You should use InternalMove if you plan to only move things around within the same QTableWidget.

      That said, you really should consider implementing delegates. As explained in the documentation, setCellWidget should only be used to show some static content.

    • K

      Unsolved textEdited signal for TextArea/TextEdit
      QML and Qt Quick • • Kenz Dale

      3
      0
      Votes
      3
      Posts
      11
      Views

      K

      @ankou29666 Thanks for your thoughts. I think all that is understood. The problem is that when we programmatically change the text this triggers onTextChanged, and thus causes nasty loops when the text changes cause text changes (which is what is what happens when there are multiple text blocks and they all need to be sync'ed with each other).

      textEdited() breaks the cycle by allowing the signal to fire only when the user types new text, not just when the text is changed.

    • K

      Unsolved Validator for TextArea/TextEdit
      QML and Qt Quick • • Kenz Dale

      8
      0
      Votes
      8
      Posts
      30
      Views

      A

      @fcarney Interesting idea

    • A

      Unsolved How to save the current component in stackview and push it back at onclick event from any other component
      General and Desktop • • AICT_Radhika

      1
      0
      Votes
      1
      Posts
      10
      Views

      No one has replied

    • M

      Unsolved Qt crashes after playing HEVC video using the libvlc for a long time
      General and Desktop • • moliyadi

      1
      0
      Votes
      1
      Posts
      19
      Views

      No one has replied