Skip to content

General and Desktop

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

    Unsolved
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • QVideoWidget not working with QVideoProbe

    Unsolved qvideowidget qvideoprobe
    7
    0 Votes
    7 Posts
    1k Views
    J
    @SGaist No. Both computers have same codec set.
  • MySQL Connection failed,but i entered correct info of server

    Unsolved msyql qt6.0.1 c++ server database
    16
    0 Votes
    16 Posts
    3k Views
    JKSHJ
    @ELEMENTICY said in MySQL Connection failed,but i entered correct info of server: I tried it,it doesnt work. Can you help again xD You need to provide details of what you tried and what errors you got. Without the details, we can't help you.
  • QQmlImageProviderBase::ForceAsynchronousImageLoading causing application crash

    Solved
    4
    0 Votes
    4 Posts
    404 Views
    kshegunovK
    @RobM said in QQmlImageProviderBase::ForceAsynchronousImageLoading causing application crash: Which portion are your referring too? Sorry, I meant the top of the stack, my bad - from #11 to #1 By double deallocation do you mean a double free()? Yes. A double delete probably, but more or less it's the same thing. Specifically #9 is rather suspicious (due to #5). It appears the crash happens when cleaning up the QString's data, which, as it being rather tested and I know it works, suggests that this data was already freed someplace else. Please provide the code around the requested region.
  • Is there a way to make a library that can be used with other compilers (C++) in QT

    Unsolved
    3
    0 Votes
    3 Posts
    265 Views
    kshegunovK
    Although @Chris is very much correct, as is his usual style, I hope you are not left with the impression that you can't use C++ at all inside the library, though. His point concerns the symbols alone. You could use as much C++ as you want inside (i.e in the private part/implementation(s)) the library, you just need to export a C interface for it to be compatible between different compilers.
  • Looking for example of resizable windows and also multi-column list views

    Unsolved
    4
    0 Votes
    4 Posts
    365 Views
    J
    Thanks, QTableView is definitely what I need. And I will look at QLayout and friends for my resizing needs.
  • QMediaPlayer from memory only?

    Unsolved
    12
    0 Votes
    12 Posts
    920 Views
    D
    i have added my 2ยข
  • cmake compiler directive for multi os

    Unsolved
    5
    0 Votes
    5 Posts
    377 Views
    SGaistS
    @SherifOmran said in cmake compiler directive for multi os: IONotificationPortGetRunLoopSource You need to link against the IOKit framework.
  • Pixmap::fromImage the mistery.

    Unsolved
    5
    0 Votes
    5 Posts
    376 Views
    SGaistS
    Hi and welcome to devnet, If working with video, recent versions of Qt allows to use custom GStreamer pipelines so why not take advantage of that rather that doing things manually ?
  • Python qt5 QLabel setPixmap display Problem

    Solved
    3
    0 Votes
    3 Posts
    636 Views
    msyasakM
    @eyllanesc Thank you for your helping. That solved the display problem.
  • QProgressBar breaks with large values

    Solved
    12
    0 Votes
    12 Posts
    1k Views
    JonBJ
    @Kekz A 32-bit has 4 billion range. Your horizontal screen resolution is, say, 1,920 pixels. So 2 million bits available per pixel the user can see. I don't think losing precision will be an issue :)
  • Signal and slot

    Solved
    4
    0 Votes
    4 Posts
    266 Views
    R
    Thank you @JonB for your explanation I understand the problem right now. @Pl45m4 I created two seperate classes, because those classes have more functions to them and I didn't want to overload a single class with multiple functions. Perhaps I should refactor my code a bit more and delete unnecessary stuff. Thank you for the suggestion :P
  • QSettings how to printout default value of key?

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    K
    @SGaist Oh sorry, I was using UINT but made it simpler for the post, forgot to set lower-case, I edited post for clarity. I think you're right, the conversion was failing and was returning QString, instead of int (UINT for my case). I checked it out and decided to apply it, so I ended up converting everything to bool, since I only needed 0 or 1, and my problem is solved. bool v = settings.value("key", defaultValue).toBool(); if (v.canConvert(QVariant::Bool)) { qDebug() << QString("Hi"); } Thanks everyone!
  • What is the best for drawing a real time chart?

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    D
    @mrjj thank you
  • QTableWidget: Prioritize horizontal space for a specific column?

    Solved
    3
    0 Votes
    3 Posts
    887 Views
    pearseP
    @nagesh said in QTableWidget: Prioritize horizontal space for a specific column?: table->horizontalScrollBar()->setEnabled(false); table->resizeColumnsToContents(); QHeaderView *headerView = table->horizontalHeader(); headerView->setSectionResizeMode(2, QHeaderView::Stretch); Thank you
  • This topic is deleted!

    Solved
    23
    0 Votes
    23 Posts
    142 Views
  • Create Skybox with Qt 3D in C++/Python?

    Unsolved
    1
    0 Votes
    1 Posts
    109 Views
    No one has replied
  • Cannot run SQL in release mode, but I can in debug mode..

    Unsolved
    2
    0 Votes
    2 Posts
    251 Views
    JonBJ
    @Baturtoraman Start by setting environment variable QT_DEBUG_PLUGINS=1 and then running your program. See if that gives you more information about why it seemingly cannot find the driver in Release build though it can in Debug build.
  • textbrower character limit

    Unsolved
    7
    0 Votes
    7 Posts
    975 Views
    O
    Hi, Could you try this? myTextBrowser->document()->setMaximumBlockCount(iMaxValue); You have to adapt it to Python as it is C++.
  • Add MQTT module to QT project

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    jsulmJ
    @gampo said in Add MQTT module to QT project: Typing "NMAKE: E:\QtMQTT\qmqtt\src gi First, call qmake. There must not be : after nmake: PATH_TO_QMAKE nmake nmake install