error launching Qt6 applications: Cannot mix incompatible Qt library (6.5.2) with this library (6.5.3)

> qt6ct Cannot mix incompatible Qt library (6.5.2) with this library (6.5.3) [1] 26923 IOT instruction (core dumped) qt6ct In order to determine the problematic library, use the strace command: > sudo strace qt6ct mmap(NULL, 24912, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 9, 0) = 0x7f90a0382000 mmap(0x7f90a0385000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9, 0x3000) = 0x7f90a0385000 mmap(0x7f90a0386000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 9,Continue reading error launching Qt6 applications: Cannot mix incompatible Qt library (6.5.2) with this library (6.5.3)

Linux, Plank Dock & Desktop Entries: Add an open ‘New Window’ action

Plank is a popular application launcher dock in Linux. By default, most application desktop entries do not provide any additional actions. Say we want to add an open ‘new window’ action to our desktop entry for pkgbrowser: Our desktop entry file looks as follows: Simply add the following to the end of the file. OfContinue reading Linux, Plank Dock & Desktop Entries: Add an open ‘New Window’ action

cmake: /usr/include/c++/10.1.0/type_traits(1396): “error: type name is not allowed” or “error: identifier “__is_same_as” is undefined”

If the gcc version being used is incompatible with cuda version, there will be errors such as: See discussion on GitHub: CUDA Build error on Arch Linux and CUDA Compilers – nvcc compatibility chart. This can be resolved by using an earlier version of GCC which is compatible with the CUDA version. In my exampleContinue reading cmake: /usr/include/c++/10.1.0/type_traits(1396): “error: type name is not allowed” or “error: identifier “__is_same_as” is undefined”

cmake: undefined reference to std::__cxx11::basic_string

The default version of gcc in the Arch Linux repositories is now gcc10: This can result in errors during linking while building packages, such as: This issue can be resolved by compiling with an earlier version of gcc: Setting these CMake variables will result in using the gcc9 version of gcc, g++, gcc-ar, and gcc-ranlib: