Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.3k Posts
  • Render QImage with QOpenglWidget, need improvment, for video/camera play

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    Beside the good point of @gde23, does the constructor of the webcam provide any SDK to work at that rate ? Note that QtMultimedia provides QCamera and QCameraViewFinder that you might want to check.
  • Limitation of string length for qDebug() output?

    Unsolved qdebug string limit qstring qtcreatorbug-17
    8
    0 Votes
    8 Posts
    5k Views
    aha_1980A
    The reason for this is a GDB limitation on Windows. See QTCREATORBUG-24649 for more information. Regards
  • QTextStream to fill a QString

    Solved
    9
    0 Votes
    9 Posts
    2k Views
    aha_1980A
    Just as follow up: this seems to be a limitation of GDB on Windows. See QTCREATORBUG-24649 for the continuation discussion. Regards
  • no build settings for desktop qt 5.14.2 MinGW 64-Bit

    Unsolved
    1
    0 Votes
    1 Posts
    146 Views
    No one has replied
  • Making arrays with Qt

    Solved
    4
    0 Votes
    4 Posts
    462 Views
    K
    @Christian-Ehrlicher you are right xD it is a struct! me so sowyh, me not think! xD
  • qt application process get forcefully abort

    Unsolved
    4
    0 Votes
    4 Posts
    458 Views
    SGaistS
    Ensure that you are properly initializing all pointers you might be using.
  • Remove all breakpoints ?

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    A
    OK, I found another "option", however, I need more help navigating debugging process. Yes, I just started seriously using real debugging and it is not going well. ( DID RTFM !) I am not sure which manual to read to learn specifically about the following : . I am seeing view with two bars in the main pane , and the "top " one has "title " Threads and it is attached to the bottom one I have been using. [image: 0b6e9652-0346-4d03-ae41-21adfb6acf6e.png] So WHAT is the name / function of the "top" bar, besides activation more "views" ? I can use "view" option and enable more , so far overwhelming and confusing views. One of the views has "options " has "suboptions" to remove all break points. Removing all breakpoints problem solved .
  • 0 Votes
    4 Posts
    295 Views
    Christian EhrlicherC
    Since it's a stream you can't send 'pakets'. You have to use bytesAvailable() or use a local own buffer and parse this.
  • CMake VCPKG

    Unsolved
    1
    2 Votes
    1 Posts
    383 Views
    No one has replied
  • Semi-transparent box around QPixmap PNG that has transparency

    Unsolved
    1
    0 Votes
    1 Posts
    136 Views
    No one has replied
  • Is there a way to import my unity3d model as a qt widget?

    Unsolved
    1
    0 Votes
    1 Posts
    123 Views
    No one has replied
  • QImage to byte array doesn't work

    Unsolved qimage image bytearray epd esp8266
    5
    0 Votes
    5 Posts
    2k Views
    B
    QImage::save() doesn't get the raw bytes of the image, it converts the image to a file format. If you really want the raw bytes, do something like QByteArray ba((const char *)preview.constBits(), preview.byteCount());
  • Qt Creator does not launch on Ubuntu 20.04.1 in VirtualBox

    Solved linux qtcreator ubuntu
    8
    0 Votes
    8 Posts
    6k Views
    aha_1980A
    Hi @TUStudi, just to add that this problem is tracked as QTCREATORBUG-24561.
  • This topic is deleted!

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

    Unsolved
    1
    0 Votes
    1 Posts
    17 Views
    No one has replied
  • Bold and Regular fonts not loading simultaneously

    Unsolved
    3
    0 Votes
    3 Posts
    481 Views
    M
    Hi @SGaist , OS: Windows 10 Qt Version: Qt Creator 4.10.1 - Based on Qt 5.13.1 (MSVC 2017, 32 bit) Compiler: I am using mingw64 Instead of compilable example I am sharing detailed problem statement which may help us leading towards resolution: Problem Statement: I am using NotoSansSC font [OTF format] for ja-JP [Japanese] language, As mention below Font file: NotoSansJP-Regular.otf NotoSansJP-Black.otf NOTE: Above both the font belongs to the same font family NotoSansJP. While running the application I observed the below console log of the, MainApplication.cpp(275) -- strCurrentLanguageja-JP MainApplication.cpp(309) -- Installed font ID: 4 [NotoSansJP-Regular.otf] MainApplication.cpp(309) -- Installed font ID: 5 [NotoSansJP-Black.otf] Install Families styles: ("Black") MainApplication.cpp(325) -- Updated Default Font :Noto Sans JP Black installed font family------------> ("Noto Sans JP Black") Observation: It won't show installed font style to ("Regular", "Black") for NotoSansJP But if I load NotoSansJP-Regular.otf then it only shows Install Families styles: ("Regular") and installed font family------------> ("Noto Sans JP Regular") The same observation observed in zh-CN [Chiness] and ko-KR [Korean] language font file also. Question: Is there any way to explicitly tell Qt to treat the same font family and add it in style? Is this problem occurs due to .otf file? Can anyone please help me out with this problem? Let me know if any other information is required. Attachment 1 [NotoSansJP.PNG]: While I install the font in windows it treats as the same font family! [image: bb7f91cd-95ba-48ff-aaf2-a2fdaadd4687.PNG]
  • Could not find the Qt platform plugin "windows"

    Solved
    24
    0 Votes
    24 Posts
    9k Views
    D
    Reinstalling seems to have fixed the problem! Heck if i knew what was wrong! Can someone mark this issue as solved? EDIT: Sorry! I found out how to mark my thread as solved! Thanks again for the help!
  • What does "error: cycle in targets detected: \obj\_cuda.obj" mean??

    4
    0 Votes
    4 Posts
    1k Views
    R
    Accidentally got Error: cycle in targets detected: ui_.h after I add h-, cpp- and ui-files to project. Sometime after using context menu "Add Existing Files...." of the project backslash-space-backslash instead single backslash appended after added filename in the pro-file. Example: FORMS += \ gui/mainwindow.ui \ \ gui/newwindow.ui That '\ \' causes Error: cycle in targets detected.
  • Customization of the buttons

    Solved
    7
    0 Votes
    7 Posts
    490 Views
    mrjjM
    @Mikeeeeee Hi You can use an event filter on all Widgets you put into say a QFrame. Then no matter where you click you can catch it. You could also sublclass QFrame and add mousePress and emit signal. If none of the other widget you put in response to mouseclick they will go to parent.
  • QTest::fetchData(): "Test data requested, but no testdata available."

    Solved
    8
    0 Votes
    8 Posts
    4k Views
    S
    @Surendranath Ok i got the solution . And where i went wrong was i gave the wrong test case definition. So i correct it testNumbers_data() instead of test_case1(). Now problem solved. Thank you.