Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. windows10
    Log in to post

    • SOLVED Style application bar (the top bar of a floating window) which has the close and minimize buttons
      General and Desktop • stylesheet window windows10 close minimize • • Hologram  

      3
      0
      Votes
      3
      Posts
      32
      Views

      Well, Qt does not provide these capabilities. This means that you cannot easily use stylesheets for this purpose. However, there might be OS-specific ways to change the color of the title bar. On Windows (10 and later) you can use DwmSetWindowAttribute to enable dark mode for the title bar. Another way is to get a window without decoration/borders from the OS and then draw the entire title bar yourself using Qt. Then, you can also style the title bar using stylesheets. It might get a little complicated to draw the close and minimize buttons in the correct OS style yourself.
    • SOLVED How do I create a directory which can only be accessed and manipulate by the application
      General and Desktop • c++11 windows10 directory security • • Deepak Dinesh  

      6
      0
      Votes
      6
      Posts
      63
      Views

      @JonB thanks
    • UNSOLVED QDoc doesn't generate all the documentation.
      Tools • windows10 problem qdoc qt6.2.4 • • Anandir  

      5
      0
      Votes
      5
      Posts
      130
      Views

      @kkoehne said in QDoc doesn't generate all the documentation.: MMh .. sounds indeed that something goes wrong here, then. Can you create a somewhat minimal example, and open a bug report at https://bugreports.qt.io/projects/QTBUG, component 'Build tools: qdoc'? Sure! I'll prepare something. Maybe it's a particular configuration that leads to some kind of problem. Thanks a lot in advance. I'll keep you posted :-)!
    • UNSOLVED Qt Mac: Escape key has no effect in a QDialog, if a QLineEdit or QSpinBox exists
      General and Desktop • windows10 qt6.2 macos11 • • stefanwoe  

      8
      0
      Votes
      8
      Posts
      125
      Views

      I can't reproduce this on macOS 12.3.1 with Qt 6.3. Works as it should.
    • UNSOLVED Issues loading OpenSSL on Deploy
      Installation and Deployment • deployment openssl windows10 qt6.2 msvc2019 • • Iemon  

      3
      0
      Votes
      3
      Posts
      643
      Views

      Copy qopensslbackend.dll in a tls folder next to your .exe, and DLL in your PATH : ./myexec.exe ./libcrypto-1_1-x64.dll ./libssl-1_1-x64.dll ./tls/qopensslbackend.dll
    • UNSOLVED How to get Qt5.15 on Windows ?
      General and Desktop • compile windows10 qt5.15.2 • • plaristote  

      3
      0
      Votes
      3
      Posts
      173
      Views

      @jsulm said in How to get Qt5.15 on Windows ?: @plaristote said in How to get Qt5.15 on Windows ?: It seems that there are no available binary builds for Qt5.15... unfortunately There are - why do you think there are not? Use the online installer - it provides Qt 5.15.x. Agree with @jsulm. The installer is at https://www.qt.io/download-open-source
    • UNSOLVED QProcess does not recognize input path with accent
      General and Desktop • c++ qprocess windows10 • • xchess64  

      8
      0
      Votes
      8
      Posts
      500
      Views

      @JonB: yes, and then use QString::fromUtf8()
    • SOLVED Windows (10) and QSerialPort
      General and Desktop • qserialport windows10 • • mzimmers  

      12
      0
      Votes
      12
      Posts
      1085
      Views

      Here's my solution for this, in case anyone's interested: The header file: #include <windows.h> #include <dbt.h> #include <QObject> #include <QAbstractNativeEventFilter> class DeviceEventFilter: public QObject, public QAbstractNativeEventFilter { Q_OBJECT public: DeviceEventFilter(QObject *parent); bool nativeEventFilter(const QByteArray &eventType, void *message, long *result) Q_DECL_OVERRIDE; Q_SIGNALS: void notify(); }; And the source file: #include "eventfilter.h" DeviceEventFilter::DeviceEventFilter(QObject *parent) { Q_UNUSED(parent) } bool DeviceEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long *result) { Q_UNUSED(eventType) // unneeded as long as we're only running on Windows Q_UNUSED(result) MSG *msg = (MSG *)(message); if ((msg->message == WM_DEVICECHANGE) && (msg->wParam == DBT_DEVNODES_CHANGED)) { emit notify(); } return false; }
    • UNSOLVED error de instalacion
      Spanish • bug installation windows10 spanish • • moonhunter  

      2
      0
      Votes
      2
      Posts
      307
      Views

      Hola Pues el error no dice mucho. Comprueba que tengas suficiente espacio en el disco para la instalación y que tengas permisos de escritura. Si aun teniendo espacio te sigue dando el error, prueba a instalar como administrador, aunque yo nunca he necesitado hacerlo. Un saludo
    • UNSOLVED Qt Creator version 4.10 .2 going unresponsive on Win10
      Tools • qt creator windows10 unresponsive • • tommy  

      8
      0
      Votes
      8
      Posts
      655
      Views

      @aha_1980 Here's how I bootstrapped new working settings for QtCreator. On Windows the settings reside in <user>\Appdata\Roaming\QtProject, which contains files QtCreator.db, QtCreator.ini and directory qtcreator with lots of subdirectories, xml files etc. Renaming that directory then running QtCreator created a new settings directory (from a template kept in the Qt distro) . After that, QtCreator started behaving normally, though of course without any memory of previous projects or kit associations. Copying the QtCreator.ini file from the renamed directory restored those memories but did not make the bad behavior come back. Apparently the root problem is an incompatibility between Qt Creator 4.10.2 and some old file in the settings folder. In my case those files were created years ago by QtCreator 3.5. And since 3.5 does not even support VC 2015, I guess it was high time for a change.
    • SOLVED QtCreator Permission Denied to File
      General and Desktop • qtcreator embedded linux bug windows10 permissions • • rafaelellin  

      8
      0
      Votes
      8
      Posts
      3000
      Views

      @aha_1980 Hi again! I created a bug report at https://bugreports.qt.io/browse/QTCREATORBUG-23295, lets hope that someone finds a fix. Thanks for your time!
    • SOLVED how to create installer for installing two application?
      General and Desktop • installer qt 5.6 windows10 binarycreator • • Yash001  

      4
      0
      Votes
      4
      Posts
      655
      Views

      @Yash001 That is beyond my experience level. No help possible from my side.
    • SOLVED Error when deploying Qt App on windows 10
      Installation and Deployment • deployment windows10 problem • • tkunzer  

      4
      0
      Votes
      4
      Posts
      597
      Views

      Ok i found the problem i just forgot to put the config file in my Deployment folder. Thanks for the help @jsulm .
    • SOLVED Incorrect QDialog view in Windows 10 taskbar
      General and Desktop • qdialog windows10 taskbar • • GreenSadFrog  

      8
      0
      Votes
      8
      Posts
      1115
      Views

      I ran into the same problem, where a closed QDialog would magically appear over a QMainWindow when hovering over the programs' TaskBar icon... I understand that QDialogs do not get shown in the TaskBar thumbnail, but how does the Dialog appear out of thin air, after dismissing it?? @GreenSadFrog said in Incorrect QDialog view in Windows 10 taskbar: If you click on the thumbnail (activate the window), QDialog will hide quickly to the correct state. The problem OP described doesn't have anything to do with the Dialog not being shown in the Thumbnail btw Seems to be a known bug https://bugreports.qt.io/browse/QTBUG-48855
    • UNSOLVED Sending and Receiving Files Using Bluetooth
      General and Desktop • bluetooth file windows10 send receive • • LAM12  

      3
      0
      Votes
      3
      Posts
      793
      Views

      @J.Hilk Thanks for your answer. But I want to ask how can I know I have to choose one over the another? After running the application "Bluetooth File Transfer" I faced the following error: Thanks in advance!
    • SOLVED Open external window in windows from QML application: SetProcessDpiAwareness(2) failed
      QML and Qt Quick • window windows10 • • robro  

      2
      0
      Votes
      2
      Posts
      439
      Views

      Ok, I have not found a solution but a workaround. I have to open and close the external window before my QML gui is opened. So I do this in my main before the QML engine loads the QML file. Then I pass the necessary information from the external window via pointers to my GUI.
    • UNSOLVED HiDPI Display of Checkboxes
      General and Desktop • windows10 high dpi hidpi • • James.Emerton  

      3
      0
      Votes
      3
      Posts
      1140
      Views

      I did some exploratory debugging and found that (on Windows 10) QWindowsStyle::drawPrimitive() is not being called to render checkboxes, but rather they are being drawn with DrawThemeBackgroundEx() from uxstyle.dll (which I would have expected to support High DPI correctly.) After looking at the screen shots attached to the ticket referenced above I discovered that I have a different sort of drawing problem; checkboxes are being render correctly, but at the same size (13px) regardless of device scaling. On Windows 7 checkboxes appear to render correctly with device scaling enabled.
    • SOLVED Windows 10 SDK must be selected (-DCMAKE_SYSTEM_VERSION=10.0) for D3D11.3 support
      General and Desktop • cmake windows10 cmakelists.txt • • Qjay  

      5
      0
      Votes
      5
      Posts
      1337
      Views

      Hey , i just asked in repo and they said "they have not enabled d3d in project" , so i guess i will stick to Linux for this one
    • UNSOLVED Resizing QMainWindow and QDialog
      General and Desktop • qmainwindow resize python3 windows10 qt 5 • • Ocram10  

      7
      0
      Votes
      7
      Posts
      2864
      Views

      @Fuel the exemples in pyqt-master do it automatically but i don't understsnd what event or property they use
    • SOLVED 'a' may be used uninitialized in this function
      General and Desktop • windows10 qt5.9.1 mingw32bit mysql 32bit • • LuAria  

      8
      0
      Votes
      8
      Posts
      27170
      Views

      @LuAria please don't forget to mark your post as solved when your problem is finally gone :-)
    • SOLVED Cannot Open Qt Creator Ver 4.3.1 on Windows 10
      General and Desktop • windows10 • • NipunR  

      5
      0
      Votes
      5
      Posts
      978
      Views

      I have had Kaspersky AV delete QtCreator after doing an update via the MaintenanceTool. After reinstalling Qt and adding an exception for QtCreator (and MaintenanceTool too, I think) it has been fine.
    • UNSOLVED QT stops with segmentation error on main function
      General and Desktop • qt5.6 qt5.7 windows10 qt5.8 • • rdsivd  

      2
      0
      Votes
      2
      Posts
      814
      Views

      Hi and welcome to devnet, What's dxftoqet3db.h ? Where does it come from ? Does it use an external .dll ?
    • SOLVED Android: Qt 5.5 Compile time Error
      Mobile and Embedded • android windows10 • • vahidnateghi  

      9
      0
      Votes
      9
      Posts
      3627
      Views

      @jsulm hmm yes I'll try Gradle as well, thank you!
    • SOLVED QT 5.8.0 Serial Problems when reading and writing to a serial port connected to itself
      General and Desktop • python windows10 serial connection qt5.8.0 • • pitr  

      10
      0
      Votes
      10
      Posts
      6507
      Views

      @mrjj no, a callback is just the nomenclature you use to describe functions passed as arguments to other functions to be invoked later.
    • UNSOLVED QFileSystemWatcher's signal "directoryChanged" not emitted
      General and Desktop • windows10 qfilesystemwatc • • stephane78  

      43
      0
      Votes
      43
      Posts
      11518
      Views

      I have corrected this bug and the other under linux too, my correction is not very clean,but it corrects the bugs.I must look under mac os too
    • SOLVED Problem using QWebEngine on virtual machine
      QtWebEngine • msvc2015 windows10 qwebengine • • pmh4514  

      2
      0
      Votes
      2
      Posts
      1292
      Views

      @pmh4514 I received an answer from Qt support, it solved the problem. Their answer below: On a virtual machine the OpenGL support might not be enough for rendering Qt WebEngine, so the quickest way to check if this is the case here is to do: set QT_OPENGL=angle on the command line or add: QGuiApplication::setAttribute(Qt::AA_UseOpenGLES); before the creation of the application object
    • SOLVED Static build of Qt fails
      General and Desktop • openssl windows10 msvc2017 qt5.8.0 • • dr3mro  

      10
      0
      Votes
      10
      Posts
      5030
      Views

      There's an initial release of the VS-AddIn here Sure there is, just build qtbase statically then build only the modules you want by hand or exclude all the modules you don't want when calling configure.
    • UNSOLVED Print Preview features fails on Windows 10
      General and Desktop • windows10 qprintpreviewwi • • NIXIN  

      19
      0
      Votes
      19
      Posts
      4397
      Views

      @NIXIN I am currently using qt-opensource-windows-x86-msvc2013_64-5.6.0
    • UNSOLVED Develop Qt MinGW application for deploying to Windows 10 from a Windows 7 host?
      General and Desktop • crash mingw windows10 windows7 deploymet • • CAD_coding  

      2
      0
      Votes
      2
      Posts
      963
      Views

      @CAD_coding form the official document, I think you can do it
    • UNSOLVED Connect Android device with Windows 10
      Installation and Deployment • android windows10 • • PA F  

      5
      0
      Votes
      5
      Posts
      1225
      Views

      Not a silly question, but yes I did.
    • SOLVED QWidget's method move calculates bad position
      General and Desktop • qwidget windows10 move problem qt 5.7.0 • • Galli33  

      8
      0
      Votes
      8
      Posts
      3633
      Views

      There is not reported this specific bug but other very similar which roots in window frame handling by Qt. For example: https://bugreports.qt.io/browse/QTBUG-53368?jql=text ~ "frame size windows" https://bugreports.qt.io/browse/QTBUG-31735?jql=text ~ "frame size windows" https://bugreports.qt.io/browse/QTBUG-14613?jql=text ~ "frame size windows"
    • UNSOLVED Problems with starting of selfcompiled binary Qt5.5.1 on Windows 10 "Diese App kann auf dem PC nicht ausgeführt werden"
      General and Desktop • windows10 mingw32 problem qt5 starting binary • • F.Haferkorn  

      2
      0
      Votes
      2
      Posts
      1388
      Views

      Hi and welcome When you use the EXE outside of the compiler, it need to have some DLLS in order to run. (in the same folder as the exe) please see http://doc.qt.io/qt-5/deployment.html for short list http://www.bogotobogo.com/Qt/Qt5_Deploy_Windows_Plugins_Platforms_qwindows.php and for the best: http://www.tripleboot.org/?p=138 You can also use http://www.dependencywalker.com/ to cast some light one if you need other dlls.