setting up qt with zynq
-
I did realize that my install directory was owned by root when I ran "ls -l" so I decided to to do a fresh install. I deleted the install directory and installed it again. Now I can see that the files are not owned by root so that should help. I opened up qt creator and made sure all the settings were still good and tried to run an example program, but still there are no example programs that show up when I click the examples button on the welcome screen. I decided to just open the project manually by opening the file in the example project's directory. Build executed with no problems this time which was good, however now when I click the run button I am met with yet another error that says:
/home/dragon/Qt/install/examples/declarative/toys/clocks/clocks: error while loading shared libraries: libQt5declarative.so.5: libQt5declarative.so.5: cannot open shared object file: No such file or directory
I am trying to research this now but if you could provide any insight that would be helpful.
also I just noticed when I open the QML files and click the "design" button, I'm also getting errors that say cannot open this QML document because of an error in the QML file: Line 0: Unsupported QtQuick version...
thanks again for your time.
@elliottal said in setting up qt with zynq:
libQt5declarative.so.5: cannot open shared object file: No such file or directory
it looks like the Qt support libraries aren't available in the library path
-
@elliottal said in setting up qt with zynq:
libQt5declarative.so.5: cannot open shared object file: No such file or directory
it looks like the Qt support libraries aren't available in the library path
@Pablo-J.-Rogina I thought the same thing and added the install/lib directory to the path but the error still persists.
-
This post is deleted!
-
I also had that kind of problem. One year ago, I try to make Qt environment for Arty Z7-20 Board. last week I try again and find that I try to make new xplatform and inside of qmake.conf I change all the tool chains. ( -gnueabi- -> -gnueabihf-) and do configure command. After that I copy libstdc++* which exists in Xilinx SDK coressponding to -gnueabihf- to installed "lib" ( in my case /usr/lib) and do sucess do run examples ( analogclock) built by config command in Arty Z7-20 Board that use same chip as Your board.
-
I also had that kind of problem. One year ago, I try to make Qt environment for Arty Z7-20 Board. last week I try again and find that I try to make new xplatform and inside of qmake.conf I change all the tool chains. ( -gnueabi- -> -gnueabihf-) and do configure command. After that I copy libstdc++* which exists in Xilinx SDK coressponding to -gnueabihf- to installed "lib" ( in my case /usr/lib) and do sucess do run examples ( analogclock) built by config command in Arty Z7-20 Board that use same chip as Your board.
This post is deleted! -
This post is deleted!
@Woonchul-Ham said in setting up qt with zynq:
@Woonchul-Ham said in setting up qt with zynq:
I also had that kind of problem. One year ago, I try to make Qt environment for Arty Z7-20 Board. last week I try again and find that I try to make new xplatform and inside of qmake.conf I change all the tool chains. ( -gnueabi- -> -gnueabihf-) and do configure command. After that I copy libstdc++* which exists in Xilinx SDK coressponding to -gnueabihf- to installed "lib" ( in my case /usr/lib) and do sucess do run examples ( analogclock) built by config command in Arty Z7-20 Board that use same chip as Your board.
////////
qmake configuration for building with arm-xilinx-linux-gnueabi-g++
MAKEFILE_GENERATOR = UNIX
CONFIG += incremental
QMAKE_INCREMENTAL_STYLE = sublibinclude(../common/linux.conf)
include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)modifications to g++.conf
QMAKE_CC = arm-linux-gnueabihf-gcc
QMAKE_CXX = arm-linux-gnueabihf-g++
QMAKE_LINK = arm-linux-gnueabihf-g++
QMAKE_LINK_SHLIB = arm-linux-gnueabihf-g++modifications to linux.conf
QMAKE_AR = arm-linux-gnueabihf-ar cqs
QMAKE_OBJCOPY = arml-inux-gnueabihf-objcopy
QMAKE_NM = arm-linux-gnueabihf-nm -P
QMAKE_STRIP = arm-linux-gnueabihf-strip
load(qt_config)
///////////I make arm-linux-gnueabihf-g++ folder and copy 2 files ( qmake.conf, qplatformdefs.h) and modified the contents of qmake.conf as above.
and then run config command../configure -xplatform arm-linux-gnueabihf-g++ -opensource -confirm-license -skip qtquickcontrols -skip qtwebkit -skip qtwebchannel -skip qtactiveqt -skip qtandroidextras -skip qtdeclarative -skip qtimageformats -skip qtmacextras -skip qtserialport -skip qtx11extras -skip qtxmlpatterns -skip qtconnectivity -skip qtdoc -skip qtenginio -skip qtgraphicaleffects -skip qtlocation -skip qtmultimedia -skip qtquick1 -skip qtsensors -skip qttools -skip qttranslations -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebkit-examples -skip qtwebsockets -skip qtwinextras -verbose -no-gif -no-libjpeg -no-mtdev -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-xcb -qt-freetype -no-fontconfig -no-harfbuzz -no-xinput2 -no-xcb-xlib -no-pulseaudio -no-alsa -no-gtkstyle -no-nis -no-cups -no-iconv -no-icu -no-eglfs -no-openssl