Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • qt library output in Linux system

    Unsolved
    6
    0 Votes
    6 Posts
    506 Views
    jsulmJ
    @anil_arise Yeah, you're right. Missed the last sentence.
  • Freeing memory in setupUI

    Solved
    3
    0 Votes
    3 Posts
    229 Views
    Christian EhrlicherC
    But you still have to delete ui in the dtor.
  • How to set the location to load library files

    Unsolved
    10
    0 Votes
    10 Posts
    627 Views
    jsulmJ
    @IknowQT said in How to set the location to load library files: Am I doing it right as you suggested? No. Please read more carefully! You specify the subfolders in SUBDIRS, not pro files. And you did not specify the dependencies like shown in the example. Why?
  • How to set qt build order

    Unsolved
    2
    0 Votes
    2 Posts
    253 Views
    jsulmJ
    @IknowQT said in How to set qt build order: There are subprojects Do you mean "subdirs" project? If so then please read https://wiki.qt.io/SUBDIRS_-_handling_dependencies If not then please explain how you're managing your projects. Also, why are you asking again something already answered in your other thread (https://forum.qt.io/topic/132856/how-to-set-the-location-to-load-library-files/10)?
  • Qt 5.5 static psql

    Unsolved
    3
    0 Votes
    3 Posts
    260 Views
    M
    @Christian-Ehrlicher Thank you for answer. So, that's mean it's impossible have a static qt with a psql? I must have a psql libs ,and other plugins like a static libs and attach to my project?
  • Cannot find libgcc_s_seh-1.dll after windeployqt

    Solved
    8
    0 Votes
    8 Posts
    7k Views
    S
    @hskoglund Solved. I found that it is okay to copy all the dependencies in mingw81_64 directly, and then slowly delete some unnecessary ones.
  • Qt Bluetooth is missing in Qt 6.2

    Solved bluetooth
    6
    1 Votes
    6 Posts
    2k Views
    SGaistS
    @hskoglund it's not lurking, it's the Qt module were its code is located. Like the widgets, network, gui and others can be found in qtbase.
  • Need bluetooth icon - where are these images ?

    Unsolved
    9
    0 Votes
    9 Posts
    682 Views
    SGaistS
    Your desktop environment should provide a mean to find where these files are stored. In any case the links provided in the documentation I linked provide the standard locations where you should be able to find the ones from your system.
  • QProcess not working in docker container on Apple M1

    Unsolved
    2
    0 Votes
    2 Posts
    277 Views
    SGaistS
    Hi and welcome to devnet, Even if it's not your current target architecture, did you try to run a 64 bit image of your setup ?
  • Singal not working correct when filtering in QSortFilterProxyModel

    Solved
    28
    0 Votes
    28 Posts
    2k Views
    SGaistS
    In this case separation of concerns. You have three views that are filtered in different manners using different proxies. Here you try to reuse the same proxy as one of the views but it might not be filtered that way you need it. The reference index may come from three different views that don't look the same table so you don't want to take one of these proxies for your mapper. Keep things cleanly separated.
  • How to make button list like that?

    Unsolved
    2
    0 Votes
    2 Posts
    166 Views
    Pl45m4P
    @GribIvan Add multiple buttons to a layout?! What do you mean exactly?
  • QUERY NOT WORKING

    Solved
    11
    0 Votes
    11 Posts
    763 Views
    GREYONG
    @Christian-Ehrlicher it's like one of the column name was not correctly spelled though I couldn't pin point it exactly cause I was just going through them one by one until all of them worked.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    24 Views
  • Qt6Core Assert fail on array copy...

    Unsolved qvector qsharedpointer
    5
    0 Votes
    5 Posts
    1k Views
    Christian EhrlicherC
    Provide a minimal, compilable example where it crashes - everything else is just guessing.
  • Using Google test: Cmake file ninja error

    Solved
    2
    0 Votes
    2 Posts
    397 Views
    Christian EhrlicherC
    @jkwok678 said in Using Google test: Cmake file ninja error: qt6_add_resources You're using this macro wrong: https://doc.qt.io/qt-6/qt-add-resources.html qt6_add_resources(Sources resources.qrc)
  • 0 Votes
    22 Posts
    3k Views
    ?
    Thank you very much. I got it to work the way I wanted it to.
  • fade in and out of bunch of label inside QVBoxLayout with animation

    Unsolved
    4
    0 Votes
    4 Posts
    287 Views
    Christian EhrlicherC
    @saeid0034 said in fade in and out of bunch of label inside QVBoxLayout with animation: so I wonder how can I get all of the labels inside a QVBoxLayout See qFindChildren(). Or put all pointers to your desired labels in a container when you create them.
  • QOAuth2AuthorizationCodeFlow fails without message. How to debug?

    Unsolved
    7
    0 Votes
    7 Posts
    623 Views
    SGaistS
    Authentication is sometime mysterious...
  • QtScript. The future in Qt 6.0.

    Solved
    5
    1 Votes
    5 Posts
    1k Views
    J
    Yup it's definitely dead. I was more curious if the OP found a way to use QJSEngine instead. Last time I checked (years ago) this wasn't a full replacement for QtScript, with no solution to expose existing c++ object to the scripts