-
-
Notifications
You must be signed in to change notification settings - Fork 22
Could NOT find QtCore #60
Comments
Hi @dannyrs18 To develop, it's much easier to not use OSGeo4A and just compile it for desktop first. This way you get quicker testing and interactive debugging almost for free.
Some notes:
It would be good to write down a step by step tutorial for this. It's been on my todo list for a while but I never got around to doing it |
Great! |
Thank you very much for the prompt response, it was very helpful |
Hi everybody. But :( Any advice? |
Are you trying to compile to run it on Android or on Linux? |
I'm try to running QField in Linux, but I fixed the problem. I installed the libproj and others libs. Then for continue build of QField, is needed Build QGIS with Quick Library. I make this libs and finally I can run QField in Linux (Fedora 31 86x64) with QT 5.3.12 in build SO, but I have a new problem. QField started, but when I hint start button "Open local project" any happend. Then, I try to running on Android and is the new history for . |
Great! The file open dialog has only recently been fixed. Compile the latest master version to get the dialog. Or drag and drop a qgs/qgz file from your file browser (nautilus) into QField. |
Nice, thank you. Which versions in your development environment? |
qgis master/nightly (upcoming 3.14). |
That's ok, I update to Fedora 32 and get QGIS from testing repo $ sudo dnf copr enable dani/qgis-testing Now QField compile. I have a new problem :). I did install QT 5.14 with QT installer into other path. I try to compile QField with new QTCreator and QT 5.14, nice compile. qfield: /usr/lib64/libQt5Core.so.5: version `Qt_5.14' not found (required by .../build-QField-Desktop_Qt_5_14_2_GCC_64bit-Debug/src/app/qfield) Any Advice? |
Why not use the same qt version as the installed qgis? |
Thank you. Now works on desktop. |
Hi @m-kuhn, I try compile into Fedora 32 desktop. When I try to compile, at ---> g++ -Wl,-rpath,/usr/lib64/ -Wl,-rpath-link,/usr/lib64 -o qfield main.o qrc_images.o qrc_resources.o qrc_qml.o qrc_translations.o -lproj /usr/lib64/libqgis_core.so /usr/lib64/libqgis_analysis.so ../../3rdparty/tessellate/libtessellate.a -L/home/jlgranda/NetBeansProjects/proamazonia/build-QField-Desktop-Debug/src/app/../core -lcore -L/home/jlgranda/NetBeansProjects/proamazonia/build-QField-Desktop-Debug/src/app/../qgsquick -lqgsquick /usr/lib64/libQt5PrintSupport.so /usr/lib64/libQt5Svg.so /usr/lib64/libQt5OpenGL.so /usr/lib64/libQt5Widgets.so /usr/lib64/libQt5QuickControls2.so /usr/lib64/libQt5Quick.so /usr/lib64/libQt5Gui.so /usr/lib64/libQt5Concurrent.so /usr/lib64/libQt5Xml.so /usr/lib64/libQt5Positioning.so /usr/lib64/libQt5Sql.so /usr/lib64/libQt5Sensors.so /usr/lib64/libQt5Qml.so /usr/lib64/libQt5Network.so /usr/lib64/libQt5Core.so /usr/lib64/libGL.so -lpthread Get --> /usr/bin/ld: /usr/lib64/libgdal.so.26: undefined reference to I follow error on openalpr/openalpr#846, but no works for QField compile. Any advice. |
Try removing the PGDG repositories and uninstalling all postgres packages from there. |
In effect I remove all repos for Postgres (e.g PostgreSQL Yum Repository) and install default PostgreSQL in RPMs. Then, install QGIS 3.13.0-Master desde testing repo dani/qgis-testing and qgis-devel Now compile. Thank you @m-kuhn. |
Greetings to all, recently I wanted to download the QField code, and for this I have to download the OSGeo4A library, I have added the necessary configuration for the execution in the distribute.sh script and everything goes very well until the following error described:
In the requirements Qt5 is listed, and when compiling requires Qt4, I have downloaded the qt4-qmake and libqt4-dev libraries to mitigate such error but after that the error described above appears with Qtcore.
The operating system I use is Linux Mint 19.2 tina
The text was updated successfully, but these errors were encountered: