Here is how you can check and see if Windows is locked in Qt/C++. This same function will also let you know if the user is switched to another. Note that this involves using some Win32 API functions.
To make your Qt application compatible with Windows XP (32-bit) you have to add the following line to your PRO file. Note that this will enable targeting for Windows XP without disrupting the application’s behavior in higher Windows versions. QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWS,5.01 You also need to install Visual C++ Redistributable for Visual Studio 2015. You […]
To be able read PDF files in your Qt applications you can use any 3rd party libraries but my choice is to use Adobe Acrobat Reader ActiveX in a QAxWidget object. The approach is quite simple as long as you have Acrobat Reader ActiveX installed on your computer.
You can use the following method to get your Windows 10 Product Key. This can be useful specially if you are dealing with a pre-installed Windows or you have upgraded to Windows 10 from Windows 7, 8 or 8.1 and for any reason you need to know the product key.
QRecorder (version 1.0.1) is a new application I wrote for screen recording. Record your desktop activities with this simple tool. It requires no configurations and it’s easy to use. It supports all windows versions from the good old XP to the recent Windows 10. You can record part or whole of the screen. You can make […]
There is a new release of Picture Stamper application for Windows users. It addresses a minor bug in the program and also improvements to resize and aspect ratio mode. Also the program is now even more lightweight than before (about 20 MBs) Head to Picture Stamper page to download this latest release.
WinShut is a Windows program that allows Scheduled Shutdown of your computer. You only need to set a date and time and toggle a check box. It is completely free and very easy to use.
To get a list of all available Windows Media Codecs in Qt you have no other choice but to use C++ interfaces from Windows Media Format SDK. In this post I am sharing an example source code which allows you to do that in Qt. If you are developing using Qt and MSVC compilers for Windows […]
If you are in a situation that you want to upload a file to a FTP server or delete, rename, copy some files on a FTP server in your Qt programs there are no definite choices anywhere. At least that is the case with Qt 5.5. You usually have to use a platform dependent library. […]
I use the code from the following article to allow only a single instance of my programs (mostly written using Qt Framework) to run on Windows. Some programs (specially the ones which connect to a specific type of hardware or resource) need this limitation to avoid conflicts. Please also note that this code is specific […]