twinkle
twinkle copied to clipboard
Qt 5 port of Twinkle
`PTHREAD_MUTEX_RECURSIVE_NP` was a non-portable (hence the `_NP` suffix) equivalent to `PTHREAD_MUTEX_RECURSIVE` in the LinuxThreads implementation. Now that this era is long behind us, we can simply start using the standard...
The old `uint` and `ulong` types, although provided for compatibility by glibc, are not always found in other libc instances. This was reported to cause a build failure on FreeBSD¹....
While glibc includes a declaration of `environ` within `unistd.h`, this is not always the case for other libc instances; POSIX states that `environ` "must be declared by the user if...
``` FreeBSD% cmake .. -- C++11 regular expressions OK -- libmagic version: 5.41 -- Found LibSndfile: /usr/local/lib/libsndfile.so -- Found ucommon includes: /usr/local/include/ucommon/ucommon.h -- Found ucommon library: /usr/local/lib/libucommon.so;/usr/local/lib/libusecure.so -- Found commoncpp...
Invoking `QMessageBox` functions with separate `button0`, `button1`, ... arguments was deprecated in Qt 4; all button specifications are now passed within a single `QMessageBox::StandardButtons` argument. Since the old form is...
`QRegularExpression` was introduced in Qt 5.0 as a successor to `QRegExp`, and while it is still supported under Qt 6 (via `Core5Compat`), the corresponding `QRegExpValidator` is not. Hence, migrating will...
`qSort()` (along with a good portion of `QtAlgorithms`) was deprecated in Qt 5.2, in favor of using STL algorithms instead. Note that `std::sort` is not an *exact* drop-in replacement for...
The entire purpose of our custom `TextBrowserNoAutoLink` class was to provide a `QTextBrowser` where clicking on a link would not automatically open it, which is *exactly* what the `openLinks` property...
Now that Qt 6 has been released for over a year and is included in most distributions (including Ubuntu 22.04 LTS), porting Twinkle to it seems like a nice little...
I need to limit Twinkle to 1 user line. It can be by disabling line 2 or if there is some preprocessor or CMake glue to configure line generation. ,...