qt .pro file parser
The parsing function for .pro file is in QMakeParser::read. It uses two buffers: tokBuff: store the parsed tokens of a .pro file xprBuff: only store a line(or part of a […]
The parsing function for .pro file is in QMakeParser::read. It uses two buffers: tokBuff: store the parsed tokens of a .pro file xprBuff: only store a line(or part of a […]
When debugging in Qt Creator, you can see the real-time values of variables in the Locals window and the Expressions window. In the above example, c is a variable of […]
You can invoke another batch script from a batch script like this: rem a.bat echo helloa1 b.bat echo helloa2 rem b.bat echo hellob1 exit /b echo hellob2 Here, the batch script a.bat […]
The answer is using the sizeof operator. The important thing is that sizeof always returns the number of bytes of the operand regardless it is an array or a basic […]
If you’ve read my post Qt Thread, you should be able to run a task in a new thread now. But you may always want to do some controls on […]
As a savvy spammer, I know how to get backlinks from WordPress websites to my site. The simplest way is to comment on posts on other wordpress sites , leaving […]
You must know a way to check the WordPress version, i.e., login administration dashboard. The version of installed wordpress is shown somewhere on the home page of the administration dashboard. […]
An http request issued by firefox has the following headers. GET / HTTP/1.1\r\n Host: google.com\r\n User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n Accept-Language: en-US,en;q=0.5\r\n Accept-Encoding: […]
Like other components of Qt, Qt Designer also proves the whole Qt stuff is developed by some amateurs. When you create a Qt widget project in Qt Creator, you are […]
I like php’s file_put_contents function, which can write a string to a file with single line of code: file_put_contents(“file.txt”,”content”); Few languages have such powerful function. In C language, you need […]