Here is what you need to add to your Qt qmake projects to be able to add and use OpenCV 3.4.1 default set of libraries. I usually add them into a separate *.pri file and include that in my *.pro files to avoid repetition, but that’s up to you. Well, here it is:Continue reading “Adding Required Includes and Libs for OpenCV 3.4.1 in qmake Projects”
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.Continue reading “How to Check if Windows is Locked in Qt/C++”
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 can find Microsoft official link below:
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.Continue reading “How to Read PDF Files Using ActiveX in Qt”
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.Continue reading “How to Get Windows 10 Product Key from Command Prompt”
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 QRecorder totally invisible while recording. Well, head to download page and test it for yourself. Click on the icon below to be taken to QRecorder official webpage.
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 then you can definitely download this source code, build and run it for yourself.Continue reading “How to enumerate installed Windows Media Codecs in Qt”
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. So here it is. I use this library when I need FTP access in Qt for Windows. It uses Windows API therefore you won’t be able to use this in Linux or MAC. Download from the link provided below (you may have to register at codeproject.com) and follow the steps to be able to use it in your Qt programs.Continue reading “How to use FTP in Qt (for Windows)”