Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Write a program to control application on Windows

    Unsolved
    8
    0 Votes
    8 Posts
    656 Views
    Pablo J. RoginaP
    @gold said in Write a program to control application on Windows: i found solution. Two things please: Could it be possible you share the solution you found? After sharing, don't forget to mark this post as solved! Thanks.
  • QGroupBox automatically sizing

    Unsolved
    5
    0 Votes
    5 Posts
    378 Views
    SPlattenS
    @raven-worx , I think I'll stick with my fiddle factor: static const quint16 scuint16CheckBoxIndicatorWidth = 24; intAlarmsWidth += scuint16CheckBoxIndicatorWidth;
  • Equivalent of DESTDIR in CMAKE

    Solved
    3
    0 Votes
    3 Posts
    846 Views
    L
    @artwaw Thanks for the link! I solved by putting set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin) under the set(PROJECT_SOURCES .....) in my CMakeLists.txt.
  • How to promote quality of widget screenshot

    Unsolved
    5
    0 Votes
    5 Posts
    406 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
    529 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
    868 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
    436 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
    305 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
    872 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
    565 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", "!"); }