QTMobilityAPI - Installation Error - qt

I am using the nokia qt sdk for developing apps in MAC10.6. I want to access the map api in my project. I download the zip(qt-mobility-opensource-src-1.1.0-beta2) file and tried to install but I am getting the errors like ...
make[4]: *** [../../../build/Debug/qtlandmarks_sqlite_debug/qlandmarkfilehandler_lmx.o] Error 1
make[3]: *** [debug-install] Error 2
make[2]: *** [sub-sqlite-install_subtargets-ordered] Error 2
make[1]: *** [sub-landmarks-install_subtargets] Error 2
make: *** [sub-plugins-install_subtargets-ordered] Error 2
What I did wrong in the installation. Please help me.. Thanks in advance.

Related

Makefile:144: recipe for target 'all' failed Error Build Static QT

The command (cia cmd.exe) in Windows 10
configure -release -opensource -confirm-license -prefix C:\Qt\6.1.3\Build
went through without problems, but now I get the following error message with
make -j8
I always get the following error message and it aborts.
make[1]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all] Error 2
[ 15%] Linking CXX static library ......\lib\libQt6DeviceDiscoverySupport.a
Generating version linker script
[ 15%] Built target DeviceDiscoverySupport
Makefile:144: recipe for target 'all' failed
make: *** [all] Error 2
Thank you, I will do from now on.
Have here times a little of the error message which occurred before with attached, vlt. can someone with it what begin and help me.
C:/Qt/6.1.3/Src/qtbase/src/corelib/text/qstringconverter.h:189:87: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:6590
Q_CORE_EXPORT static const Interface encodingInterfaces[Encoding::LastEncoding + 1];
^
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourceforge.net/projects/mingw-w64> for instructions.
qtbase\src\tools\androiddeployqt\CMakeFiles\androiddeployqt.dir\build.make:90: recipe for target 'qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj' failed
make[2]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/main.cpp.obj] Error 1
CMakeFiles\Makefile2:12798: recipe for target 'qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all' failed
make[1]: *** [qtbase/src/tools/androiddeployqt/CMakeFiles/androiddeployqt.dir/all] Error 2
[ 15%] Linking CXX static library ..\..\..\lib\libQt6DeviceDiscoverySupport.a
Generating version linker script
[ 15%] Built target DeviceDiscoverySupport
Makefile:144: recipe for target 'all' failed
make: *** [all] Error 2

Build error when installing qtopcua in qt

I followed this tutorial https://blog.basyskom.com/building-qt-opc-ua-with-open62541/ and at this step "mingw32-make install" I get the follwing errors:
sed -e s,D:/Qt/5.14.2/mingw73_64/qtopcua/build/lib,D:/Qt/5.14.2/mingw73_64/lib,g ../../build/lib/pkgconfig/Qt5OpcUa.pc >
D:/Qt/5.14.2/mingw73_64/lib/pkgconfig/Qt5OpcUa.pc sed: can't read ../../build/lib/pkgconfig/Qt5OpcUa.pc: No such file or directory mingw32-
make[3]: *** [Makefile.Release:5815: install_target] Error 2 mingw32-
make[3]: Leaving directory 'D:/Qt/5.14.2/mingw73_64/qtopcua/build/src/opcua' mingw32-make[2]: ***
[Makefile:55: release-install] Error 2 mingw32-make[2]: Leaving directory 'D:/Qt/5.14.2/mingw73_64/qtopcua/build/src/opcua' mingw32-make[1]: ***
[Makefile:64: sub-opcua-install_subtargets] Error 2 mingw32-make[1]: Leaving directory 'D:/Qt/5.14.2/mingw73_64/qtopcua/build/src' mingw32-make: ***
[Makefile:65: sub-src-install_subtargets] Error 2
I'm using qt 5.14.2 and the branch 5.13 (I tried 5.12, 5.14 and got also errors), windows 10.
You need to copy all missing files manualy to you QDIR.

build GDB Debugger Windows

I downloaded from the site qt-creator-2.6.1-src.zip, Unzip the folder and launched msys, in which I wrote the following commands:
cd /c/s/dist/gdb
make -f Makefile.mingw
After 5 minutes of builds out the following message:
make [3]: *** [areadlink.o] Error 1
make [3]: Leaving directory `/c/s/dist/gdb/staging/libiconv-1.14/srclib '
make [2]: *** [all] Error 2
make [2]: Leaving directory `/c/s/dist/gdb/staging/libiconv-1.14/srclib '
make [1]: *** [all] Error 2
make [1]: Leaving directory `/c/s/dist/gdb/staging/libiconv-1.14 '
make: *** [/c/s/dist/gdb/staging/lib/libiconv.a] Error 2
What is the reason, please tell us.

Did anything change in QT_UI_WRAP

I am trying to wrap QT UI in QT5 using a command
QT5_UI_WRAP (ui_forms/file.h ui_file.ui)
I have include QT5Widgets. Somehow this isn't working. Now everywhere I read, this is what needs to be done but there is always an error saying the .h file was not found. I have included the ui_forms folder in include path. Is there anything more that needs to be done with this. ? Am I missing something ?
fatal error: ui_results_view.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/location_recognition.dir/src/results_scene.cpp.o] Error 1
make[1]: *** [CMakeFiles/location_recognition.dir/all] Error 2
make: *** [all] Error 2

Qt Compilation with dbus

I am trying to compile qt with dbus but it gives me the following exception. I have installed the dbus version 1.3 in the system and I am using the following configure command.
Can someone point me as to what should be done.
configure -dbus -I/usr/include/dbus-1.0 -L/usr/local/dbus/lib -ldbus-1 -fast -prefix /home/thwijeth/Software/qt-4.8.1-com-debug -v
thank you in advance.
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
In file included from qdbusconnection_p.h:51,
from qdbusconnection.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbuserror.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [qdbusconnection.o] Error 1
In file included from qdbusconnectioninterface.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusconnectioninterface.o] Error 1
In file included from qdbusconnection_p.h:51,
from qdbusintegrator.cpp:33:
qdbus_symbols_p.h:39: fatal error: dbus/dbus.h: No such file or directory
compilation terminated.
make[1]: *** [qdbusintegrator.o] Error 1
make[1]: Leaving directory `/home/thwijeth/Software/qt-repo/qt-4.8.1-src/src/dbus'
make: *** [sub-dbus-make_default-ordered] Error 2
verify if /usr/include/dbus-1.0 contains a dbus directory, if it does not, verify whether /usr/include/dbus-1.0 contains dbus.h, if so you need to create a symbolic link to dbus-1.0 as dbus
ln -s dbus-1.0 /usr/include/dbus
and then try to rerun configure.
This solution worked fine for me for this missing header. However, I got then a different error fatal error: dbus/dbus-arch-deps.h: No such file. I worked around this error by copying this file from /usr/lib/x86_64-linux-gnu/dbus-1.0/include/dbus to /usr/include/dbus-1.0/dbus/. I don't know why this header was not in the /usr/include directory from the beginning. But this is my hack to the problem.
Regards

Resources