دست را تیغ زنم باز همان حس لطیفت باقیست
چشم را شویم و سیمای پدیدار توام تکراریست
چاره کار مجانین سفر از غمکده ها نیست دریغا
قرص کامل شده ماه به هر دور و دیاری باقیست

Thou shalt programme
دست را تیغ زنم باز همان حس لطیفت باقیست
چشم را شویم و سیمای پدیدار توام تکراریست
چاره کار مجانین سفر از غمکده ها نیست دریغا
قرص کامل شده ماه به هر دور و دیاری باقیست
To be able to set your Android app orientation (to Portrait or Landscape mode) in Qt you have to modify AndroidManifest.XML manually. In this post I am going to describe where you can find this “AndroidManifest.XML”, because it does not exist in your project folder by default and how to modify it to set any desired Screen Orientation for your App.
Continue reading “How to set Android Screen Orientation in Qt”
Soru sordukça bu iş zorlaşıyor, bakma unut, takma bırak,
dediler. Ben seni buldum diye artık ne gerek var, sus unut,
dediler. Bu tesadüf olamaz, biz bu cisimler değiliz demek isterdim ama, aaahh,
dediler. Başka bir yerde seninle sevişirken, seni gördum, o değildir,
dediler. Kafir oldum, bana mümin dediler.
Another update on Picture Stamper. Now Mac OS X users can also download and use this tool for free! It’s not available in Mac App Store yet but hopefully it will, soon, and also in many other trusted download websites (just like Windows version).
Continue reading “Picture Stamper 2.0 For Mac OS X Released!”
ODBC (Open Database Connectivity) drivers allow connection to many databases out of the box. In Windows and Qt you can use ODBC Plugin (for Qt) to connect to those databases.
Continue reading “How to use ODBC in Qt”Just released Picture Stamper Version 2.0.0. Here is a brief list of changes:
Head to Picture Stamper page to download this latest release.
OpenCV 3.1 was released yesterday and with a first look I noticed that prebuilt libraries for x86 VC10 (MSVC2010) are nowhere to be found in the installation folder. In fact there is no x86 folder to begin with. Some of my recent apps all are built using MSVC2010 so I had to build OpenCV myself. Here is what I did and what I suggest you should do.
Continue reading “How to Build OpenCV 3.1 with MSVC2010 for x86”
Qt includes a very simple method to get the size of the screen (width and height). Here it is:
QSize size = qApp->screens()[0]->size();
Note that this function works perfectly in Android and iOS too.
Another thing to note is that if you replace [0] with 1, 2, 3, … you can access other monitors (if there are any) on desktop computers.
If you are learning how to use Windows API (specially Win32 API) in Qt you might have come across a lot of functions which require the usage of Callback Functions. A very well-known example is EnumWindows function. This function allows listing all open windows through a callback function.
Continue reading “How to List All Running Programs and Windows in Qt”As of today you can also download my new application Picture Stamper from Softpedia. They have written a nice review and of course they have proposed some updates that I think I will add and release in the near future. They have also checked it for malwares and of course they have given it a Softpedia 100% clean award. Check it out using the badge below and download it. It’s free, fast and simple 🙂