Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Qt 5.15.2 QNetworkAccessManager FTP client connection problem to local Ubuntu server

    Unsolved
    4
    0 Votes
    4 Posts
    998 Views
    L
    I'm having a similar issue with NetworkAccessManager uploading a file to an FTP, i'm getting "QNetworkReply::ContentAccessDenied". Have you found a solution?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Qt6.5 QCamera setting the cameraFormat was NV12 why output was UYVY?

    Unsolved
    3
    0 Votes
    3 Posts
    423 Views
    Z
    @Bonnie I was confirm check the bestFormat was set Format_NV12 by qDebug output.
  • Linking error

    Unsolved
    2
    0 Votes
    2 Posts
    278 Views
    C
    @clarify You are probably missing a Q_OBJECT macro in class MyWindow or have not re-run qmake since adding it.
  • How to reduce the size of my deployed app

    Unsolved
    5
    0 Votes
    5 Posts
    675 Views
    C
    Is this file really necessary? Yes, Qt6Core.so is linked to it. How come I avoid this bulky file ? You cannot entirely avoid it, but you maybe able to tailor and ship a reduced size version if your particular application does not need certain of the ICU features. See Customizing ICU’s Data Library
  • whose bug is it ?

    Unsolved
    5
    0 Votes
    5 Posts
    367 Views
    A
    @JoeCFD Sorry , I did not ask for alternative solution, and there are no escape characters in the affected line either. My uneducated guess is - when the "//" definition is to skip until new line it should do so . The compiler is working fine detecting the "new line " created by the editor. Reader if free to interpret my uneducated guises to his liking. END OF RANT
  • Modify labels at QTreeView

    Unsolved
    7
    0 Votes
    7 Posts
    583 Views
    SGaistS
    Hi, QFileSystemModel implements headerData and returns specific values for each columns hence your calls to setHeaderData have no effects. Either make a subclass of QFileSystemModel or make a custom QIdentityProxyModel.
  • SDL2 works differnetly with widget from code or from ui file

    Unsolved
    5
    0 Votes
    5 Posts
    444 Views
    SGaistS
    Hi, Do you have any SDL error checking done in your code ? There might be useful information there.
  • QTreeWidget not expanding/collapsing when clicking twice on the arrow

    Solved
    3
    0 Votes
    3 Posts
    836 Views
    Clone45C
    @Axel-Spoerl said in QTreeWidget not expanding/collapsing when clicking twice on the arrow: To prevent that from happening, I don't see other save options than subclassing QTreeWidgetand overriding the click-stealing event handlers. Thank you so much for this insight!
  • 0 Votes
    12 Posts
    19k Views
    N
    It works for me when I use 4.4.2 online tools instead of 4.5
  • How do I get the value from QDateEdit in QTableWidget? (Python)

    Unsolved
    3
    0 Votes
    3 Posts
    339 Views
    M
    @JonB In my QTableWidget I have both text and widget. And I have 3 QDateEdit in the table cell, when I use QTableWidget.cellWidget(row, column) it only detect 1 of the 3 QDateEdit. I don't know the reason of that.
  • How modbus runs in other threads

    Unsolved
    2
    0 Votes
    2 Posts
    192 Views
    Axel SpoerlA
    @xiaguangbo It's a bit difficult to figure out what you really mean. Before you post, it helps to imagine what if reader without any contextual knowledge of your problem will understand it. Generally it doesn't make any difference if the QThreadis heap or stack allocated. will not run properly What do you mean by "properly"? What exactly do you expect? Probably the QThreadgoes out of scope before the operation is finished. Has t1.start();been called at all? Maybe post your entire code and use code block quotation for better readability.
  • How to get the widget from QScrollArea with the index of widget?

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    M
    @JonB Oh I understand now. Thanks for your reply. I'm so new to this tools so there are so many things I don't fully understand
  • Currently selected table in QTextEdit?

    Unsolved
    7
    0 Votes
    7 Posts
    628 Views
    Pl45m4P
    @mpergand said in Currently selected table in QTextEdit?: Exists since Qt4 ! Mh ok. There were only Qt6 Releases listed in the documentation, not even 5.15. Still never heard of it and it doesnt seem to be used very often.
  • Qt 6.5 project templates. Which to use?

    Unsolved
    2
    0 Votes
    2 Posts
    340 Views
    Axel SpoerlA
    @bogong All explained here.
  • Differences between 6.2 and 6.5. Where to reed about it?

    Unsolved
    2
    0 Votes
    2 Posts
    399 Views
    W
    @bogong said in Differences between 6.2 and 6.5. Where to reed about it?: -- why added install? In previous version of default application it hasn't been there. Why now? Because having it the default template is convenient for a lot of people. It's easy enough to delete if you don't want it. -- why added MACOSX_BUNDLE parameters? Before it there were nothing about it. Pretty much the same. A lot of people building on MacOS had to add that stuff manually before, so it was more convenient to have it in the default template. IF you aren't building an OSX bundle, it shouldn't effect anything. You can read the details in the CMake documentation. It's expected that most people will tinker with the CMakeLists.txt, so you can make it do whatever you want.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Problem building with 6.2.4

    Solved
    7
    0 Votes
    7 Posts
    785 Views
    Christian EhrlicherC
    @lcook99 Then please mark this topic as solved. Thx.
  • keyPressEvent not being called

    Solved
    4
    0 Votes
    4 Posts
    355 Views
    PerdrixP
    @mpergand Yes! Using a QShortcut with context Qt::ApplicationShortcut and key sequence QKeySequence::HelpContents worked a treat! Thanks a lot
  • The description of Qt 6.5 CMake project architecture. Where?

    Unsolved
    3
    0 Votes
    3 Posts
    236 Views
    B
    @kkoehne Yes. It's in default application. [image: 527b4656-f307-4f8b-b9ea-4bed2830c965.png] Is it unfixed bug? Just next one bug ...?