Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.0k Posts
  • Can't find source file when building on Mac

    Solved
    6
    0 Votes
    6 Posts
    603 Views
    SGaistS
    Good Since you have it building now, please mark the thread as solved using the "Topic Tools" button so that other forum uses may know a solution has been found :)
  • qtscxml/src/scxml/qscxmlcompiler.cpp bug

    Solved
    5
    0 Votes
    5 Posts
    415 Views
    W
    600 some seconds later ... click on the word Done :)
  • Managing QMDISubwindows in an QMDIArea

    2
    0 Votes
    2 Posts
    303 Views
    SGaistS
    Hi, Can you generate a stack trace from that crash ? Qt's sources is available so you can go through it to see how that enumeration value is used.
  • QTest unit executed with xvfb-run can't find any resource

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    SGaistS
    Hi, AFAIR, no, there's no such limitation.
  • QScxmlEvent questions

    Unsolved
    2
    0 Votes
    2 Posts
    298 Views
    W
    Using the the connectToEvent method to connect to an event that does not exist still returns a connection ID. Even worse, the event is put into the event queue and there appears to be no obvious way to know that it is queued up and to remove it from the queue. If the erroneous event is sent multiple times, the call back for the event is then called multiple times, once for the most recent queued event, and again for each previous event. So what is the status of Qt and Scxml? Is it really ready for prime-time? Are any of you Champion's able shed light on any of this? Thanks!
  • how to update a QListWidget of files

    Unsolved
    4
    0 Votes
    4 Posts
    416 Views
    SGaistS
    You can also use it with a QListView.
  • Custom widget set as centralWidget dissapears upon "setStyleSheet"

    Solved
    3
    0 Votes
    3 Posts
    412 Views
    SGaistS
    Hi and welcome to devnet, The "Topic Tools" button is what you are looking for :)
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • Use XML Schema to Generate XML Documents

    Solved
    2
    0 Votes
    2 Posts
    970 Views
    fcarneyF
    Okay, I think I found the tool I was looking for. In Eclipse with the Web plugin you can literally right click on an xsd file and tell it to generate an xml file that, once it is generated you can add namespaces to the file. From there you can edit the file using a structured editor to add elements that correspond to the schema and various namespaces you added. This allows a structured creation of an xml file from the schema(s) you have selected. Eclipse will also keep validating against the schema so you will show errors if you enter in an incorrect node. So while initially I was looking for a programming solution, I was really looking for a suitably featured xml tool. I am sure there are others out there. I think visual studio has some tools for this.
  • signal in mainWindow and slot in other class

    Solved
    3
    0 Votes
    3 Posts
    404 Views
    ?
    @koahnig it works
  • scxml dynamic load use case

    Solved
    7
    0 Votes
    7 Posts
    789 Views
    W
    Sure did, but that I can see, none of those projects make use of dynamically loading some changed Scxml. Sure, they load one up dynamically, but once it's loaded it's done. Some of the examples even load from a resource file; so to me, that makes it even less dynamic. I did find a use case however that's fairly straightforward: A generic state machine loader that does nothing more than publish known and active states, and processes events. I'd sure appreciate it if you could try to answer some of my outstanding questions here, perhaps with some example. Thanks!
  • Set Headers in Qlistwidget and Qtablewidget

    Unsolved
    7
    0 Votes
    7 Posts
    5k Views
    T
    @jsulm Thanks it works.
  • 0 Votes
    6 Posts
    3k Views
    J
    @aha_1980 @jsulm @SGaist @Kent-Dorfman It all boiled down to store some information in QSettings. Reading a QJsonDocument from QSettings posed an issue, however reading QString from QSettings was possible. Now, I found out how work with QJsonDocument and QSettings, I no longer need to wrong transfer Image in QString. As a work around, I changed Image to Byte Array, changed this Byte Array to hex Array and later changed this Hexed Byte array to QString and stored. But, this is all not required now. Thanks for your inputs.
  • Load dll Library

    Unsolved
    6
    0 Votes
    6 Posts
    650 Views
    A
    @mrjj thank's I knew the problem with myLib.errorString(); @jsulm thank's the path was incorrect
  • This topic is deleted!

    Solved
    17
    0 Votes
    17 Posts
    50 Views
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    12 Views
    No one has replied
  • Resize widgets in a splitter

    Unsolved adjust splitter
    6
    0 Votes
    6 Posts
    2k Views
    N
    I just wanted to locate the splitter so that all the table columns are visible. I tried using QSplitter::setSizes() with the table width but it wasn't updated right after creation. I solved it by overriding the table's resizeEvent() and emitting a signal to the parent widget
  • How to get a list of available image file formats?

    Unsolved
    3
    0 Votes
    3 Posts
    622 Views
    mrjjM
    Hi and also https://doc.qt.io/qt-5/qtimageformats-index.html
  • QTableView delegate insert Error.

    Unsolved
    2
    0 Votes
    2 Posts
    261 Views
    mrjjM
    @Pada_ said in QTableView delegate insert Error.: Motion is created so that you can modify it. What do you mean by that ? Im not sure what you expect/want to happen in B. version.
  • Bug in QAbstractScrollArea or near else

    Unsolved
    5
    0 Votes
    5 Posts
    778 Views
    G
    @mrjj thanx. I have change bug report. PS: The bug appears even when first create list with attached widgets then bind it to QGraphicsWidget on scene.