Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • How to promote quality of widget screenshot

    Unsolved
    5
    0 Votes
    5 Posts
    405 Views
    MiniCatM
    Thank you very much. I see. My Widget have many other input widgets and display widgets. The picture is background of this widget I want to save this screen , so i used grab() and save as a picture.
  • Screen design problems

    Solved
    17
    0 Votes
    17 Posts
    2k Views
    SPlattenS
    @artwaw said in Screen design problems: https://doc.qt.io/qt-5/qt-conf.html Thank you, I've also used the command line option: -platform windows:dipawareness=0 Which works.
  • After windeployqt, vcruntime140.dll cannot be found when running.

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    S
    @ChrisW67 Thank you very much. I am now thinking of a way to remove this library, replace it with another one, or use mingw to compile it.
  • Access data sent with post/put from QNetworkReply

    Unsolved
    17
    0 Votes
    17 Posts
    6k Views
    V
    @Jiloc what you said is pretty clear... I think no one read you anwser or try to understand you problem. I do because I'm in the same case than you : I want to access of the request's payload that is not availaible in the QNetworkRequest. For people : readAll on QNetworkReply read the payload of the reply not the request. Unfortunately no way to get the request payload from the reply or reply->request() object => It's up to you to keep it when sending it and associate this payload to the reply.
  • GNU C++ error

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    SGaistS
    That's why nuking the build folder and not just deleting its content is usually a good idea :-) Glad you have it working and thanks for the feedback. Please mark the thread as solved using the "Topic Tools" button or the three doted menu beside the answer you deem correct so that other forum members may know a solution has been found :-)
  • Selection between Qtreeview and Qtree widget

    2
    0 Votes
    2 Posts
    526 Views
    AxelViennaA
    QTreeWidget is a convenience wrapper around QTreeView. By using a pre-defined tree model, it provides very easy access at the cost of flexibility. Nevertheless, QTreeWidget provides columns, icons, you can place other widgets (buttons, labels, …) into a tree item and it is fully drag and drop enabled. If you do not worry about a tree model specific to your application and this is your first time using a tree: Go for QTreeWidget. If you want to make it sophisticated and you are ready to spend a little time investigating the possibilities of a tree model, go for QTreeView.
  • reading data and storing from Qtreewidget

    Solved
    8
    0 Votes
    8 Posts
    864 Views
    123newuser1
    @jsulm thank you i will try this
  • How to use qt to edit docx file in Linux

    Unsolved
    3
    0 Votes
    3 Posts
    329 Views
    MiniCatM
    thanks very much
  • Porting QAudioDevice to QT6.2

    Solved qt6
    2
    0 Votes
    2 Posts
    435 Views
    SGaistS
    Hi, I think you are looking for QAudioSink.
  • This topic is deleted!

    Solved
    6
    0 Votes
    6 Posts
    125 Views
  • QT USB??

    Unsolved
    3
    0 Votes
    3 Posts
    301 Views
    piervalliP
    I used this library. https://github.com/fpoussin/QtUsb. It is wrapper of https://libusb.info.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • Binarydata over QJsonObject becomes to big.

    Unsolved
    7
    0 Votes
    7 Posts
    869 Views
    T
    @Christian-Ehrlicher Yes! You are absolutely right... toJson converts to UTF-8 and so it is working as expected. Thank you!
  • Not able to assign value of array element to property of QML module

    Unsolved
    5
    0 Votes
    5 Posts
    563 Views
    S
    @Pl45m4 thank you very much for update. But I am able to do so in next statement in same module " SchaltschrankPropertyDialogBox", where I am printing its value using console.log . I have also updated console.log statement in "SchaltschrankPropertyDialogBox"" module in my post given above for your kind consideration. Thanks !!
  • Any resizeable drag-and-drop component examples?

    Unsolved
    2
    0 Votes
    2 Posts
    314 Views
    mrjjM
    Hi I have not seen any advertised here on the forum but in case you don't find anything, this could be a starting point https://doc.qt.io/qt-5/qtwidgets-draganddrop-puzzle-example.html combined with https://wiki.qt.io/Widget-moveable-and-resizeable for the resize part.
  • 0 Votes
    3 Posts
    3k Views
    artwawA
    @JonB sweet Jesus on the bike... this is the dumbest typo I ever made. I am so embarrassed atm. Thank you :D
  • A problem i have with palettes i need help with!

    Unsolved
    27
    0 Votes
    27 Posts
    3k Views
    K
    @SGaist ofcourse :) i've made a init file that on startup checks every folder, path and file, if they exists (fi not create them) and if can we access them :) for this i made this Debug_pff.LevelInfo("PFF", "Checking if folder exists", "!"); if ( !QDir(save_path + palette_folder).exists() ) { QDir().mkdir(save_path + palette_folder); Debug_pff.LevelInfo("PFF", "Folder did not exist so we created one", "!"); }
  • Connect signal with int param to a slot with enum param?

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    S
    @Pl45m4 said in Connect signal with int param to a slot with enum param?: Yeah if setValue is a given function of some class. But here it is @Calicoder 's own function, I guess. So you can change it as needed :) Just because you can change it does not mean you should. C++ has strong types. And this helps to catch a lot of errors at compile time. That is why I suggest to use the correct type instead of cheap tricks. Though, that is my personal choice.
  • Weird CPU distribution with Gstreamer

    Unsolved
    5
    0 Votes
    5 Posts
    443 Views
    M
    In my Qt app I have two more queues and the display sink is different: I use the qml sink and I need to add some extra things to use it (glupload and glcolorconvert). But the reception and decoder parts are the same. I am looking in the Gstreamer logs, more precisely the h264 decoder. I will let you know if I see something !
  • Qt MainWindow how to close and reopen

    Unsolved
    16
    0 Votes
    16 Posts
    2k Views
    SPlattenS
    @AxelVienna , thank you, I will investigate.