Skip to content

Tag: qt5

CMAKE_PREFIX_PATH for Qt5

I want to compile this which requires Qt 5.14 and I have Qt 5.12 installed from my linux repository.I just compiled Qt from source and installed it in /usr/local/Qt-6.0.0/(default location). But CMake prints the following error although I’ve added set(CMAKE_PREFIX_PATH “/usr/local/Qt-6.0.0/include…

CMAKE_PREFIX_PATH doesn’t help CMake in finding Qt5

From here: https://stackoverflow.com/a/28327499/462608 I tried this: Here is the output of cmake . This is to show that /opt/Qt5.9.1/ does exist. Here I run the cmake with -DCMAKE option, but the output is still same: Contents of the directory: Answer I installed the following missing packages: Attaching any …

Yocto/Qt5.6: Unable to build a sample Qt Application

I have a working Nitrogen6x board that runs on Yocto Krogoth-next build with core-image-sato. I have installed Qt Creator 3.5.1 (based on Qt 5.5.1) and I have added my kit for nitrogen6x board as per [Build & Install Qt5 toolchain] document. I have added a sample Qt Quick Application with component set ch…

Qt5 Change Softlink of Currently Running Executable

I created 2 simple Qt5.5 test apps on Linux, “red” and “green”. I setup an initial soft link in the current directory that looks like this: I want to be able to launch the gui app at any time and have it switch the softlink to the other ‘color’ app. So when I run gui and it…

qt5: why 2 processes and memory usage?

I uses 64 linux with fresh install of qt 5.1.0. I take example application qtbase/examples/widgets/widgets/lineedits and run, let’s call it qt5_lineedit, also I take the similar app from qt4 sources build it with qt4 library and run. And in htop I see that, there are two qt5_lineedit (I run only one, so…