I am using Qnx on PandaBoard Es and try to develope Qt application.
If I run qt application on qnx,I get error as following
Fontconfig error: Cannot load default config file
Apllication is open but fonts aren't shown.
What can I do solve this problem.
Regards.
Did you read this instruction and applied decribed tips? By default "QNX SDP 6.6 does not provide fontconfig" so I think you should install some additional packages.
Related
I'm getting an Error in QtCreator with Qt Enterprise VirtualKeyboard. I built and installed it as per description on http://doc.qt.io/QtVirtualKeyboard/build.html and deployment-guide.html.
I can compile and run the Example project and it works as espected. But in QtCreator the statement following statement gets the "Error-Line" with the Message the module would not be installed.
import QtQuick.Enterprise.VirtualKeyboard 2.0
The Error in the tooltip is "QML Module not found".
Funnily the following
import QtQuick.Enterprise.VirtualKeyboard.Styles 2.0
doesn't throw an error.
So I had a look in the import path. The QTDIR\qml\QtQuick\Enterprise\VirtualKeyboard folder only has a Folder Styles with the Styles-Plugin in it. No files in the VirtualKeyboard. I suspect the missing files aren't correctly coppied to this folder.
I tried to find out which files exactly are missing but failed. Has somebody a running installation without these errors, who can tell me exactly what files are missing?
Thanks in advance!
Have you tried to run the app in the Release mode? We also got the same error in the Debug mode, but by switching to the Release mode, everything goes very well! We still don't know what's going on there, but at least this works.
So for me it was the usage of minimalegl QPA that lead to QT not finding the plugin/module. Switching to eglfs solved the problem.
TLDR: my_app -platform eglfs works while my_app -platform minimalegl does not.
I have cross-compiled a QT project in ubuntu12.04 using qmake version 4.8.4 and arm-none-linux-guneabi-4.4.3.In the project ,it also used the libsyszuxpinyin.so library.But when I run it On the arm board ,it run error with this problem.
So,I want to ask anyone just have encountered this problem?
Have you set library path for QT libraries...?
export LD_LIBRARY_PATH=/usr/local/Trolltech/QtEmbedded-4.8.4-sh4/lib: ....
I have installed Qt 5.0.1 - 32-bit Version on Ubuntu 12.04. All the programs crash at startup with the following messages :
The program has unexpectedly finished.
/home/manager/Qt5.0.1/5.0.1/gcc/examples/opengl/2dpainting-build-Desktop_Qt_5_0_1_GCC_32bit-Debug/2dpainting
exited with code 0
I tried:
Making the default Qml Application
Running a few example applications.
I switched between the debug and release modes as well, but all crashed with similar message. Surprisingly 'Animated Tiles example' works fine. Any suggestions ?
Edit:
In debug mode this is what i get:
Debugging starts
&"warning: GDB: Failed to set controlling terminal: Inappropriate ioctl for device\n"
RTTI symbol not found for class 'QGLWidget'
RTTI symbol not found for class 'QGLWidget'
RTTI symbol not found for class 'QGLWidget'
RTTI symbol not found for class 'QGLWidget'
I have same problem on Windows with Qt5. As i understood, in qt5 window subsystem moved into plugins and when application start, QApplication object can't find this libraries.
On windows I step-trace my app into Qt code, and find that plugins try to load from folder ./plugins/system where . is folder with our app binary. Also it was a problem with
dependence. Windows specific plugin dependence from libGLES.dll or libGLES2.dll. But GL libs must place in the same folder as app binary, not with plugins.
Correct file tree on Windows look like this
plugins
system
platform.dll
windows.dll
libGLES.dll
MyApp.exe
Try to look in this way.
Firstly check your graphics driver is installed.
Qt5 or higher version supports OpenGL 3.0 or higher, if your system is old one, i think you need to check the graphics card can support OPENGL verion as i mentioned above.
If above things are fine, then i think you need to install some opengl libraries that can be easily downloadable from Ubuntu.
Regards
Ansif
I would like to write an application for Windows CE. I have already followed all the relevant steps, and started to write the application with Qt Creator.
However, when I started to build the code, there was the following error message:
QtCored4.lib(QtCored4.dll) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'THUMB'
Maybe some more details:
I downloaded the library for Windows CE and I configured Qt-Opensource-Version 4.8.3 with following parameters:
configure -platform win32-msvc2008 -xplatform wince50standard-armv4i-msvc2008
All went well. Qt Creator did recognize the new version and added Windows CE as supported platform.
Now, I guess, that there will be the same problem with QtGuid4.lib. Does anybody know, where I get a compatible file?
The import library for a DLL - the .LIB file - contains machine code stubs that are linked into your program, that call through the import table for the EXE. Therefore, they have to match the processor family that you're compiling for.
You need to obtain the .lib file for the Windows CE ARMv4I build of QtCored4.dll. Try these instructions for building Qt for Windows CE.
I created an application using Imagemagick library with Qt on Mac.
Now that I want to deploy the application for windows:
I installed the imagemagick library
on my pc,
I installed the SDK version of QT 4.7
I added my include and lib paths
And when I go run the application I'm getting errors that I think they are related to mingw32.
here are the build issues:
and here is the compile output:
Can someone Identify the error ?
What do I have to do to deploy the application for windows?
I also tried to use a Mingw32 version of my library but again, It didnt work:
When I put -lmagick after the lib it says file lmagick cannot ne found
and when I try to build unticking the shadow build checkbox in the build settings, it give me the errors in the first screenshoot. Thank you
See the answer to this question.