Ölmeyenlerdenmişiz, vahşimişiz, asimişiz
Akıbetsiz, çaresiz, sonsuzmuşuz, tenhamışız
Yangını hiç görmeseydik belki sönmezdi ateşler
Gözyaşı paylaşmayanlardanmışız, yangınmışız
Qt Build Configure Options
I usually need to select a variety of options for building Qt depending on what I need and what I don’t need and strangely enough it is not easy to find the list of available options in the documentations so here it is.
Below is the list of all configure options for building Qt. It is taken from Qt 5.5 configure file which can be found under qtbase.
Continue reading “Qt Build Configure Options”What to track, learn and practice? [For Machine Vision Development]
Following is a list of libraries and software that should be learned by anyone who wants to develop in the field of AI and Machine Vision. Of course learning each one of them in a thorough manner would take lots and lots of time but to have a consistent level of knowledge in all of them would help tremendously in developing sophisticated apps and finding your way in highly complex AI related projects.
What I suggest here is a little bit Windows OS based but you can replace those items with any items that you like and that is relevant to the OS of your choice. (Even though I am all for open-source, I strongly recommend going for Windows in case of operating systems. Specially now that Windows 10 is out.)
Reha
Arzular yol yemeğim, maksadım yolum benim
Hedefim bilinmeyen, bilinmeyen yerim benim
Cebir’in hastalığından giderim sonsuza doğru
Bana sonsuz bile yetmez ki reha adım benim
Slow right-click context menu fix
I was facing this problem for a long time and even Microsoft support guys didn’t know why it was happening after messing with my PC using remote assistant many times. The problem persisted even after I upgraded to Windows 10. Anyway here is the fix to the slow right-click menu in my case:
Remove the following from the registry:
HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\igfxcui
Taken from this link
Zihnim Acıyor
Hastalıkmış dediler, hiç olamazmiş dediler * Çaresi sakin olup bir nefes almak dediler
Deli ay gordu nefes aklına hiç gelmedi amma * Kafir olmak sonu sonzuzca yakılmak dediler
Kuklaci zihnini oynatti konuşturdu düşürdü * Gokyüzünden yaratan herkesi izler dediler
Başka dillerde konuştukları belli, o deli * Tapinaklarda senemlerle yok olmak dediler
Ey çiçek yüzlü bu şiirin sağı başka solu başka * Kafir olmak sonu sonzuzca yakılmak dediler
Handling Duplicate Records in SQL
This happens a lot (to me at least 🙂 ) so I decided to make a note here!
Following SQL script will allow you to SELECT duplicate records in a given table.
SELECT * FROM my_table WHERE some_field IN (SELECT some_field FROM my_table GROUP BY some_field HAVING COUNT(some_field) > 1)
This code actually finds all the records in a table named “my_table” which have the same value for a field (or column) named “some_field” in more than 1 records which is specified in the final clause COUNT(some_field) > 1
To delete (remove) duplicate records you only need to change “SELECT *” to “DELETE”.
DELETE FROM my_table WHERE some_field IN (SELECT some_field FROM my_table GROUP BY some_field HAVING COUNT(some_field) > 1)
Ses
O belanın eli her dem eteğinden çekerek gitme diyor
Sesi yüksek, kulağı kar, gözü kör, dur be diyor
Yüzüne bakma melek, durma, uzaklaş, sonu yok
Bırak arkanda, unut, git, sana yol gel be diyor
Add Administrator Level Privileges to Your Qt Program
Include the following in your project’s PRO file to have Administrator level privileges added to your program.
Following should be noted while using this:
1. This will only work if you are using a Microsoft Visual C++ compiler and Windows OS
2. Your OS might ask you for Administrator password or confirmation when you try to run your executable. This depends on how your OS is configured.
3. Qt Creator needs to be started as Administrator in order to run a program (for debugging) that has the following lines in its PRO file.
win32-msvc* {
CONFIG += embed_manifest_exe
QMAKE_LFLAGS_WINDOWS += $$quote( /MANIFESTUAC:\"level=\'requireAdministrator\' uiAccess=\'false\'\" )
}
How to build Qt 5.5 Static Libraries using any Microsoft Visual C++ Compiler
Following steps will help you with building Qt 5.5 Static Libraries with any MSVC Compiler. I have used MSVC2010 in this example but it should be the same for any compiler version from 2005 to 2015 (Visual Studio 2005 (8.0), VC++ 14.0)
Note that building Qt like this will remove all dependencies meaning there won’t be any need for MSVC dlls)
Continue reading “How to build Qt 5.5 Static Libraries using any Microsoft Visual C++ Compiler”