I have QT 5.5 & QTWebkit and am trying to bring it up on i686 platform.
Everything builds fine , but QTWebkit seems to be configured by default with eglfs. It always try to load egfs plugin instead of directfb.
I tried with the below configuration,
In ./configure -directfb -no-eglfs -no-opengl respectively. It does not generate eglfs plugin, Now i got error saying that there's no eglfs plugin found. How to tell QT to load directfb plugin instead of eglsfs.
Any inputs?
Cheers
Solved the issue by setting QT_QPA_PLATFORM to 'directfb'.
Related
I was working for quite a while with Qt5 5.9.8 and updated to the latest release Qt5 5.14.1. I built Qt 5.14.1 with exactly the same flags as the 5.9.8 version and everything seemed to be working fine except for one issue: It is impossible to enter numbers with the numpad.
This issue has nothing to do with the applications I write with Qt but is somehow Qt inherent. It is also present in the Qt designer as well as in ParaView which I compile with the my compiled Qt version.
Is there anything I can do to compile Qt to make the numpad work again?
The same bug report that Frank Osterfeld mentioned lead me to the solution of this problem. The issue was a missing xkb dependency. After a yum install libxkbcommon libxkbcommon-devel Qt5 is built and the numpad is working as expected.
The difference can be inspected in the configure output. Without libxkbcommon libxkbcommon-devel:
XCB:
Using system-provided XCB libraries .. no
XCB XKB .............................. no
XCB XInput ........................... yes
and with libxkbcommon libxkbcommon-devel:
XCB:
Using system-provided XCB libraries .. no
XCB XKB .............................. yes
XCB XInput ........................... yes
I have set my application to debug mode, even so the breakpoints is not working. I am using Qt Creator on Linux
I have fixed the issue, I didn't install the GDB Debugger.
a quick pacman -S gdb solved the issue
I am trying to run a Qt application under EGLFS with Linux Mint on a Macbook Pro.
I have:
Configured and compiled Qt with all the needed flags and dependences.
Tried to run the app with X11 turned off.
Used kms integration.
Installed all the Mesa drivers ( I have an intel GPU ).
Even compiled EGL myself.
But it keeps saying "Unable to create EGL Display".
Does anyone knows what am I missing ?
P.S For example I can run weston-launch which I believe it runs over drm-egl.
I had the same problem like you. I have solved it by:
Building Qt with "-opengl desktop" switch.
Making conf file with my displays (look at: http://doc.qt.io/qt-5/embedded-linux.html at section "eglfs with eglfs_kms backend") inside application directory
Exporting QT_QPA_EGLFS_KMS_CONFIG=conf
Then switch to free tty and run application with -platform eglfs argument.
I have source code folder of Qt 5.1.0 and also 4.8.4. The thing is that when I put command:
configure -static -release -no-exeptions the text of help screen only flashes and nothing else happens. What's the problem?
Please, help me ASAP.
Qt 5.1 is released as an SDK. Additionally, you can install and use the 4.8.4 library - which I currently use. Is there a reason you need to build from source?
I have some difficulties with QT, which I need for school for some GUI applications.
I have recently done these steps:
1) mingw-get-inst-20120426.exefrom SourceForge installed to C:\MinGW\ with default settings.
2) Qt libraries 4.8.4 for Windows (minGW 4.4, 317 MB) from QT Project installed to C:\Qt\ with default settings. Here an error occurs:
!!!There is a problem with your MinQW instalation
!!!g++ not found in c:\MinGW\bin\
!!!Do you still want to continue? Yes
I checked c:\MinGW\bin\ there is no such file
3) Qt Creator 2.6.0 for Windows (51 MB)also from QT installed to C:\Qt\gtcreator-2.6.0 with default settings
4) Run the QT IDE
5) Open project or create new project. Another error occurs here
!!!No valid kits fond.
Qt Creator uses the invalid kit Desktop to parse the project.
6) Open Options->Build & Run->Kits (But I don't know how should I set Kits and where to find them).
7) Can you also help me, how to set Qt version
(Options->Buid&Run->Qt Version)? Where do I find qmake.exe?
I also didn't find how to create GUI Application. There is no such option in New File or Project...
Thanks for help.
That is quite tricky ;)
Precompiled Qt (MinGW) is only win32 (not win64).
Precompiled Qt is compiled with MinGW-g++ 4.4 and won't work with other.
You have to download this one:
http://get.qt.nokia.com/misc/MinGW-gcc440_1.zip
//// Edit: With this version of MinGW, gdb won't work (it's not python-enabled). Although QtSDK is depracted (and you won't find it on qt-project.org), I highly recommend downloading this online installer and, during the selection of components mark only MinGW. It will come with folder named "pythongdb".
http://www.developer.nokia.com/info/sw.nokia.com/id/da8df288-e615-443d-be5c-00c8a72435f8/Qt_SDK.html
(You may need to register. It's free.)
////
Add "Compiler" by g++.exe
Add "Qt Version" by qmake.exe.
Add "Kit" with Compiler and Qt Version configured above. You can try to change debugger from CDB to GDB.
When you installed mingw, did you select the C++ compiler? It is not selected by default but you need it. Re-run the wizard and select that.
The kit is not valid because the C++ compiler cannot be found: try to install it first. If you still cannot setup this read the manual: http://doc-snapshot.qt-project.org/qtcreator-2.6/creator-targets.html. It is very complete.
qmake.exe is in *qt_directory*/bin/qmake.exe.
Try this out:
http://sourceforge.net/projects/mingw-w64/ (Since the mingw-w64 project on sourceforge.net is moving to mingw-w64.org i suggest to use mingw-w64.org)
It works for me.