Undefined symbol: _ZTI14QWSInputMethod - qt

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: ....

Related

error: Unknown module(s) in QT: qml quick

error: Unknown module(s) in QT: qml quick
I do see quite few relevant topics, but none of them solves my problem.
I have Qt CReator 4.5.2 and QT 5.9.5.
While building the QT's virtual keyboard example, I run into this issue. The host environment is Ubuntu 14.04.4 and for it, the example builds and runs properly. However when I try to build it for my target, a TI board, I have run into this issue. I understand my build for cross compiling QT is fine. I have built qtdeclarative module as well.
Any help is appreciated
I found an answer at the link
The last comment helped.
It is suggested to used the qmake from sysroot instead of build folder; in my case it was
/home/abu/targetfs/usr/local/qt595/bin/qmake
Now at least it builds for target.

Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50201)

I have installed Shadowsocks-Qt5 within the code sudo apt-get install shadowsocks-qt5 in terminal, and then I can find the launch icon by searching, but it won't open when I click the icon. Then I tried to use terminal to open it, but the error comes out as below:
~ ss-qt5
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50201)
[1] 8875 abort (core dumped) ss-qt5
I searched many answers but no one work. I think the key may be the default Qt library, but I don't know how to set default Qt library, the system on my computer is Ubuntu 14.04 LTS.
How to solve this problem?
I just had this error when attempting to run Qt Creator after doing a system update. For me, I was attempting to run Qt Creator 4.10.0-rc1 (based on Qt 5.13.1) that I had manually installed to ~/Qt along with Qt 5.13.0, and my system has Qt 5.12.2 installed.
I was getting the following error:
Cannot mix incompatible Qt library (version 0x50c02) with this library (version 0x50d00)
Doing an strace when running qtcreator.sh revealed that it was attempting to load plugins from the system directory. I finally discovered the culprit was the environment variable QT_PLUGIN_PATH was set (in my case to /usr/lib64/qt5/plugins:/usr/lib64/qt5/plugins/kcms).
After unsetting this variable, Qt Creator started up and worked.
After so many months of trying to fix this issue, this helped me.
sudo apt install qt5-style-plugins.
I was facing a similar issue, and even after 4 hours of debugging, I got nowhere. Finally, I found the following way to keep separate Qt versions, posting here so that other people find it.
Suppose you installed Qt in ${QtRoot}, extend the PATH and LD_LIBRARY_PATH:
export PATH=${QtRoot}/bin:${PATH}
export LD_LIBRARY_PATH=${QtRoot}/lib:${LD_LIBRARY_PATH}
You can make a wrapper function / script to manage separate Qt installations like this:
QtVersion=5.12.8
QtRoot="/scratch/Qt/${QtVersion}/gcc_64"
export PATH=${QtRoot}/bin:${PATH}
export LD_LIBRARY_PATH=${QtRoot}/lib:${LD_LIBRARY_PATH}
After running this your application will likely run fine.

Configuration incomplete error ocuured ,This message happened when I am trying to link qt with opencv using cmake

I am trying to link OpenCV library with Qt (following these instructions), but I have some compilation errors:
Any one can help me?
You have to specify the Paths by hand. Click on the red entries and set the path to the according path.
You can read more about this problem in this Question: Error in OpenCV configuration for Qt Creator

Cannot find -lQt5Guid and -lQt5Cored

I am currently trying to compile a Qt application that I downloaded from github on my windows machine. I did not have any trouble compiling this on Ubuntu so I was hoping someone could help shed some light on my problem.
I am using Qt-Creator to compile the program.
The exact error messages are:
:-1: error: cannot find -lQt5Guid
:-1: error: cannot find -lQt5Cored
collect2.exe:-1: error: error: ld returned 1 exit status
My first idea when reading those messages was that the windows PATH variable does not include the locations of the libraries. But when I checked, my PATH contained the following:
C:\Qt\Qt5.1.0\5.1.0\mingw48_32\bin;C:\Qt\Qt5.1.0\Tools\mingw48_32\bin;...
Which exists and contains what looks like the correct Dlls.
I am using MingGW rather than the visual studio compiler (although i have it available if needs be).
How can I fix this error and what could be causing it?
EDIT: When I run qmake there does not seem to be any problem. The errors come up when I try to build the project.
Cored is a fundimental part of Qt so it looks like the linker can't see any of the Qt libraries.
Did you install Qt 5.1.0 SDK?
A few things to check:
Do you have a line like this in your .pro file?:
QT += core
You mentioned "Projects section my path" are you talking about the windows PATH variable? these paths should also be in that. You can check with dos command:
echo %PATH%
If these paths are not there, for a test, add them in if this works then something has gone wrong with the local PATH setup (i.e. when running qt creator - if you are using qt creator?)
Finally just check that the debug version of the Qt5Cored.dll exists in that folder (C:\Qt\Qt5.1.0\5.1.0\mingw48_32\bin) because it looks like you are building a debug build (which is why your program is looking for 'd' post-fixed name Qt5Cored and not Qt5Core).

Error while configuring Qt Creator 2.6 beta with BlackBerry NDK

I am facing a problem configuring Qt Creator, unable to add Qt Version.
Error is shown below :
I had installed Cascades native NDK and the BB simulator.
Help me out of this problem....
I think you're using Windows. So all next is context depended on Windows.
You need to add special environment variables like these:
QNX_TARGET=C:/Development/bb-ndk-3.0/target_10_0_9_386/qnx6
QNX_HOST=C:/Development/bb-ndk-3.0/host_10_0_9_52/win32/x86
QNX_CONFIGURATION=C:\Users\user\AppData\Local\Research In Motion\BlackBerry Native SDK
MAKEFLAGS=-I%QNX_TARGET%/usr/include
PATH=%QNX_HOST%\usr\bin;%QNX_CONFIGURATION%\bin;C:\Development\bb-ndk-3.0\ide\win32\x86\eclipse\jre\bin;%PATH%
PYTHONPATH=
QDE=C:\Development\bb-ndk-3.0\ide\win32\x86
or run bbndk-env.bat before starting Qt Creator:
Copy bbndk-env.bat to bin folder for QtCreator
Rename it to start-qtcreator.bat
Add there line qtcreator.exe
Run bat instead qtcreator
Ok i have done as per your updated answer, now error spoted is different than the previous one and that is "No qml Viewer installed".

Resources