Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • This topic is deleted!

    Solved
    4
    0 Votes
    4 Posts
    97 Views
  • QML Image Cannot open CMake qrc

    Unsolved qt6.5 qml qrc cmake qt creator 10.0
    4
    0 Votes
    4 Posts
    2k Views
    semlanikS
    @Kevin470 The qt_standard_project_setup function doesn't set CMAKE_AUTORCC flag, only UIC and MOC. So you need to add: set(CMAKE_AUTORCC ON) before calling qt_add_executable.
  • Monitoring OpcUa nodes does not work always

    Unsolved
    2
    0 Votes
    2 Posts
    182 Views
    M
    @Mark81 I tried to check the signal enableMonitoringFinished and I get a success: void MyOpcUa::enableMonitoringFinished(QOpcUa::NodeAttribute attr, QOpcUa::UaStatusCode statusCode) { qDebug() << attr << statusCode; } QOpcUa::NodeAttribute::Value QOpcUa::Good
  • QTextStream readAll issue

    Unsolved
    2
    0 Votes
    2 Posts
    393 Views
    sierdzioS
    @Megamouse for such big files I recommend using the stream part of QTextStream and read file in chunks :D It really gives amazing performance improvement, regardless of which Qt version you are using. It will lower both CPU and RAM usage by a lot. Talking from experience here :-) Regarding the slowness issue: this sounds like something Qt devs should look into. Please consider reporting it on Qt bugtracker!
  • Show 3D model of GLB file in Qt window

    Unsolved
    3
    0 Votes
    3 Posts
    870 Views
    S
    Hi @ChrisW67 , Thanks for your reply. This happens in my development machine. Plugins like "assimpsceneimport.dll, gltfsceneexport.dll, gltfsceneimport.dll" are available in my QT installation. Also, my filepath exists. gfem.GLB file is valid and I could load the file in the viewer you have recommended. I am using Qt open source version. Is Qt 3D available only for commercial version ? Thanks, Sridharan
  • Exploratory Data Analysis (EDA) and Visualization - Identifying Insights in a Dataset

    Unsolved
    2
    0 Votes
    2 Posts
    481 Views
    Pl45m4P
    @Aliviya Interesting... and what has Qt to do with it?
  • Qt 5.15.2, Mac OSX and PostgreSql

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    SGaistS
    Seeing the PostgreSQL version you have (9.6), I am fairly certain that your issue is that you have an Intel only build or a ppc64/x86_64 at best.
  • This topic is deleted!

    Unsolved
    7
    0 Votes
    7 Posts
    34 Views
  • Not all possible target environments can be supported due to missing compilers

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    MehrshadM
    @hskoglund I created the new topic.
  • How to auto scale screen resolution

    Unsolved
    6
    0 Votes
    6 Posts
    820 Views
    A
    @LT-K101 Have You Found Solution in This issue ?
  • Using ffmpeg from QtMultimedia to set RTP as container media format

    Unsolved
    7
    0 Votes
    7 Posts
    749 Views
    R
    @SGaist thanks for the reply... Although ffmpeg does support RTP, I Don't see if it's available on all supported platforms or only on some. As an alternative, I found this library https://github.com/ultravideo/uvgRTP I'll see if I can make something of it and integrate it with QtMultimedia, apparently if I get a stream of H264 (AVC) or H265 it will wrap it into (S)RTP, although only works on Windows, Mac and Linux, it would be cool if I get it to work also on iOS and Android (the platforms covered by my Qt subscription). Maybe I'll keep this open, if I manage to get it working it could help someone else.
  • Qt detect system dark/light mode?

    Unsolved
    5
    1 Votes
    5 Posts
    1k Views
    G
    @JonB well there are reasons, I want to set the default style based on wether the user has dark mode on or not, but I need to set it with QGuiApplication::setStyle(QStyle *style) before it is created to not break/disable CLI arguments (e.g. -style fusion) and environment variables.
  • Can't use built in SQLite functions after building SQLite plugin in Qt 6.5.1

    Solved
    6
    0 Votes
    6 Posts
    399 Views
    Christian EhrlicherC
    @ioki9 said in Can't use built in SQLite functions after building SQLite plugin in Qt 6.5.1: I thought that linking to Qt SQLite was enough after rebuilding plugin and using header. It can't - it does not export the sqlite functions in any way (why should it).
  • Where the hel do I find a list of functions for signals?

    Unsolved
    4
    0 Votes
    4 Posts
    263 Views
    LahearleL
    @Christian-Ehrlicher That's probably what I was looking for, thanks. I was looking at the "signals and values pages" before, which of course had nothing.
  • 0 Votes
    3 Posts
    256 Views
    Christian EhrlicherC
    What does '4k' mean? 4000x2000 pixel? If so you need at least 400020004bytes = 32MB of free, contiguous memory. As @JonB already said - please show use your loading and displaying code. Also it's not a good idea to load an image every 0.1 second.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied
  • Nested project structur Qt 5.15.2 MSVC2019 linker problem

    Solved
    6
    0 Votes
    6 Posts
    471 Views
    SGaistS
    @kluszon yes, it's explained in the Creating Shared Libraries.
  • Dependencies across multiproject in CMake

    Solved cmake cmakelists.txt
    6
    0 Votes
    6 Posts
    1k Views
    artwawA
    @Christian-Ehrlicher My bad. Thank you, it worked! I need to up my cmake game...
  • why is data not transmitted over udp?

    Solved qt5.15.2 udp
    5
    0 Votes
    5 Posts
    666 Views
    timob256T
    @timob256 this work QString data_str = QString::number(data_x)+ " "+QString::number(data_y); out << data_str; qDebug() <<data_str ; [image: MxYj4.png]
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied