Qt Forum

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

      Solved HAving trouble building my simple hello world program. Error messages of SDK
      General and Desktop • mac mac os 10.14.6 sdk qt 5.14 • • Ray Lee

      9
      0
      Votes
      9
      Posts
      342
      Views

      SGaist

      Great !

      Since you have it working now please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so other forum users may know a solution has been found :-)

    • Ulysse

      Solved QOpenGLWidget::update() stops working after a while
      General and Desktop • qopenglwidget qt 5.14 opengl • • Ulysse

      4
      0
      Votes
      4
      Posts
      536
      Views

      SGaist

      You should not call GUI function from a different thread. Signal and slots is the way to go.

    • V

      Unsolved Qt childForm menu into MDI menuBar
      General and Desktop • c++ qt 5.14 mdi application • • Vsw-c

      2
      0
      Votes
      2
      Posts
      314
      Views

      SGaist

      Hi,

      Looks like you are on Unity. IIRC, all the menus are located in the top bar like on macOS and not on the Windows themselves.

    • jeanmilost

      Solved Qt Quick views 2.0 and PDF printing
      QML and Qt Quick • pdf qt quick qt 5.14 qt 6 • • jeanmilost

      4
      0
      Votes
      4
      Posts
      978
      Views

      jeanmilost

      Thank you for the answers, they provide very valuable info. So there is no real way to have a generic PDF printer, and each developer have to write its own, by writing its own Paint() function. That was that I though, unfortunately.

      Unfortunately, because writing my own drawing function brings another issue in my case: I cannot get back the content of the delegate property encapsulated inside my TableView object, in my qml interface file from the c++ code. More exactly, I can, in the best situation, retrieve a part of these info, by getting back the items already drawn on the user interface, from the TableView cache. But as not all the items may be available in this case, I may miss important info in various scenarios, e.g.for still not painted items. Or I may also hardcode the values to use during the PDF export inside the c++ code to reflect what was did in the qml file.

      These solutions may resolve my issue in a certain manner, but are weak in terms of generating good and reusable code, especially when designers are intended to often modify the qml interface during the development cycles.

      I perhaps will explore the QTextDocument object, and the way it handles the PDF printing. However I don't know if I really can use this component to replace my qml TableView object, as its organization was exactly what I needed to show my data to the user. I will also take a look in the QtWebEngine solution, but this may work only if the text remains editable in the generated PDF, as I said in my original post above.

    • I

      Unsolved How to display gpumat image in opengl widget
      General and Desktop • qt 5.14 opengl opencv cpp cuda nvidia • • Imran B

      4
      0
      Votes
      4
      Posts
      512
      Views

      SGaist

      What processing are you doing with OpenCV ?

    • Ulysse

      Solved Wrong text display : Qt 5.14 only
      General and Desktop • qml qt 5.14 text corruption character encod • • Ulysse

      17
      0
      Votes
      17
      Posts
      987
      Views

      E

      @Pl45m4 Already try it work on Windows but not for android

    • S

      Solved exporting shared DLL class
      General and Desktop • qt 5.14 subdirs shared library • • sDmt

      3
      0
      Votes
      3
      Posts
      255
      Views

      S

      @SGaist Thank you so much for the quick reply.
      I finally managed to do it.

    • A

      Solved Integration fo Qt3D C++ back-end with QML front-end?
      QML and Qt Quick • qml qt3d c++ qt 5.14 • • Alain38 0

      2
      0
      Votes
      2
      Posts
      232
      Views

      A

      OK,
      Finally we found the solution. The tip is to create a Scene3D in the qml file. And to create the camera and ForwaqrdRenderer in the QML too (and not in the C++).

      Scene3D { id: scene3D anchors.fill: parent anchors.margins: 10 focus: true Root3DEntity { id : root3DEntity renderSettings : RenderSettings { id : renderSettings pickingSettings.pickMethod : pickingSettings.PrimitivePicking activeFrameGraph: ForwardRenderer { id: renderer clearColor: "#4d4d4f" camera: Camera { id: camera projectionType: CameraLens.PerspectiveProjection fieldOfView: 45 nearPlane: 0.1 farPlane: 1000.0 position: Qt.vector3d(0.0, 0.0, 2.0) upVector: Qt.vector3d(0.0, 1.0, 0.0) viewCenter: Qt.vector3d(0.0, 0.0, 0.0) } } } } }