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”) and/or set(CMAKE_PREFIX_PATH “/usr/local/Qt-6.0.0/”) : Answer Since it has solved your question, I am just going to put it as
Tag: qt5
Qt 5.10 QGraphicsView cannot scale QGraphicsScene to fullscreen
I am experimenting with Qt 5.10 QMultimedia on Ubuntu 16.04 to play Gstreamer recorded videos. The meat of the application is shown below. I cannot seem to get the video to scale to the full Qt screen after I call showMaximized(). The small video shown in the middle of the screen is shown below ( I want it to scale
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 kind of prefix is not required now: CMakeList: New output: Errors are
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 chosen as Qt Quick 2.1 and tried to
LD_LIBRARY_PATH failing while trying to run Qt app
I want to run a Qt 5 based application usind dynamic libraries on Linux. In summary, a script will copy the executable and other relevant files, including all required .so inside a lib folder, to the desired destination and a script calling gksudo will work as caller to the app. Till now everything works fine till I call the executable
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 points to red,
Strange error while trying to deploy qt5 app on raspberry pi
I have a project which I’ve made on Ubuntu 14.04 LTS, but then, I wanted to test if the Raspberry Pi was capable of running this little program of mine. Then I’ve followed the instructions on this link to compile and build qt5 natively on the Pi. I’ve managed to install qt5 without problems, I could even compile and run
How to deploy Qt5 application on Linux in compliance with LGPL? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 7 years ago. Improve this question Recently, I have successfully migrated my Qt4 application to Qt5. In fact, the application builds and runs on a development machine
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 it used 2 threads) and memory usage: VIRT