Navigation

    Qt Forum

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

    • UNSOLVED QProcess does not recognize input path with accent
      General and Desktop • c++ qprocess windows10 • • xchess64  

      8
      0
      Votes
      8
      Posts
      25
      Views

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

      12
      0
      Votes
      12
      Posts
      139
      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 • installation bug windows10 spanish • • moonhunter  

      2
      0
      Votes
      2
      Posts
      133
      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
      170
      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
      989
      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
      367
      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
      327
      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  

      7
      0
      Votes
      7
      Posts
      682
      Views

      @mrjj Thanks for the reply.
    • UNSOLVED Sending and Receiving Files Using Bluetooth
      General and Desktop • bluetooth file windows10 send receive • • LAM12  

      3
      0
      Votes
      3
      Posts
      493
      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
      340
      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
      904
      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
      1157
      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
      2414
      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
      14097
      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
      876
      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
      672
      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
      3373
      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 qt5.8.0 connection • • pitr  

      10
      0
      Votes
      10
      Posts
      5709
      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
      10142
      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
      1007
      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
      4631
      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
      3894
      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
      813
      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
      1101
      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
      3094
      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
      1253
      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.