Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.1k Posts
  • cannot use encoded QVideoFrame object contents to base64 as

    Solved
    5
    0 Votes
    5 Posts
    365 Views
    J
    An online video chat
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • How to produce a video from some QVideoFrame objects

    Unsolved
    2
    0 Votes
    2 Posts
    104 Views
    Kent-DorfmanK
    opencv is one way
  • Qt 5.15.2 MinGW 32-bit throwing errors but 64-bit version working fine.

    Solved
    32
    0 Votes
    32 Posts
    6k Views
    H
    @jsulm said in Qt 5.15.2 MinGW 32-bit throwing errors but 64-bit version working fine.: If you do not have such customers I am hoping I don't. Thank you for your insight.
  • How to use __LINE__ macro as QString parameter ?

    Moved Solved
    4
    0 Votes
    4 Posts
    553 Views
    nageshN
    @AnneRanch said in How to use __LINE__ macro as QString parameter ?: QString label = QString(LINE ); //current code line use QString::number QString label = QString::number(__LINE__ );
  • why cpu utilization increase as we load more images in thumbnail image previewer ?

    Solved
    11
    0 Votes
    11 Posts
    518 Views
    SGaistS
    QPixmapCache can be a good start.
  • Qt CSS Corrector for my application

    Unsolved
    5
    0 Votes
    5 Posts
    273 Views
    SGaistS
    The search for LSP (language server protocol). The Kate editor has a plugin for KTextEditor.
  • How to change QMDI example...from MDIChild text to form / dialog ? REPOST

    Moved Unsolved
    2
    0 Votes
    2 Posts
    115 Views
    Christian EhrlicherC
    A QDialog is not meant to be used inside another widget. It's a top-level widget and there is no need / usecase for it.
  • MSVC Code Analysis throwing warnings for Qt framework code

    Solved
    5
    1 Votes
    5 Posts
    602 Views
    Chris KawaC
    @Christian-Ehrlicher said: msvc doesn't know the concept of 'system headers'. It does. It just calls them "external headers", which is IMO a better name for it, as there is nothing system about Qt on Windows for example. @Taytoo If you want to skip all compilation warnings from, say C:\Qt\Qt5.12.2, you can do it like this: /experimental:external /external:W0 /external:I C:\Qt\Qt5.12.2 The first switch enables this feature (it's experimental). The second one sets the warning level for external headers (W0 disables them entirely) and the third one sets a path to treat as external. But that's really not the problem. The question was about the static code analysis tool and those switches unfortunately won't work with that. VS static analysis tool does not have warning levels so there's no switches to configure it. The current solution MS suggest for that is something like this: #include <codeanalysis\warnings.h> #pragma warning( push ) #pragma warning ( disable : ALL_CODE_ANALYSIS_WARNINGS ) #include <Qt includes you use> #pragma warning( pop ) which, admittedly, is quite ugly and invasive. It also has a nasty side effect of silencing everything that gets included transitively from Qt, so make sure Qt headers are last on your include list. UPDATE: There have been improvements to this and now external code can be excluded also from code analysis. See this blog post for details: Customized Warning Levels and Code Analysis for External Headers
  • Loading information into a modified file dialog during use

    Unsolved
    2
    0 Votes
    2 Posts
    130 Views
    artwawA
    @djsuson Hi, I'd send a signal from your dialog to be handled where needed to open the data.
  • Table Widget selected item doesnt take the first one

    Unsolved table widget qt4
    2
    0 Votes
    2 Posts
    566 Views
    JonBJ
    @suslucoder said in Table Widget selected item doesnt take the first one: But it doesnt take the first one that i select Yes, this code will visit all selected items, including whatever "first one" which you say it does not include. Else everybody would be complaining about it. Why don't you print out: qDebug() << ui->tableWidget->selectedItems().length();
  • Array of QLineSeries

    Unsolved
    4
    0 Votes
    4 Posts
    436 Views
    JonBJ
    @suslucoder And where does the code you show generate but it says me series[1] doesnt declare in this scope ? Where is the for loop you say you are trying? Also, where does it use the QLineSeries *series[7]; you say you are having trouble with? I do not see it using any array of anything, which is what your whole question is about...
  • Property editor

    Unsolved
    15
    0 Votes
    15 Posts
    1k Views
    sitesvS
    How to make QComboBox or QCheckBox delegates show constantly? They appear when I clicking on the cell only. Or this approach (QTreeView + custom delegates) is not suitable for my case?
  • This topic is deleted!

    Solved
    10
    0 Votes
    10 Posts
    60 Views
  • Can't compile project using CLion and CMake

    Unsolved qt6 clion-ide cmake error
    37
    0 Votes
    37 Posts
    14k Views
    M
    Thank you to all the panellists, I’ll take care of it. Can we leave it open in case there are any mistakes or questions?
  • QFileSystemWatcher sends 2 signals. Is there anyway to avoid that?

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    Pablo J. RoginaP
    @developer_61 said in QFileSystemWatcher sends 2 signals. Is there anyway to avoid that?: i think its solved. so don't forget to mark your post as such!
  • Search button in table widget

    Unsolved
    5
    0 Votes
    5 Posts
    830 Views
    jsulmJ
    @suslucoder Was this code executed at all? How is it triggered? Please provide more information when asking!
  • This topic is deleted!

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

    Solved
    15
    0 Votes
    15 Posts
    347 Views
  • QMYSQL driver not loaded

    Solved
    6
    0 Votes
    6 Posts
    704 Views
    KroMignonK
    @Sakasushi as @JonB already has written, you are mixing up MySQL/MariaDB and phpMyAdmin: MySQL/MariaDB are database engines phpMyAdmin is a database administration tool If you want to use QSqlDatabase/QSqlQuery/etc., you have to connect to the db engine.