04-02-2018 01:38 AM
I tried to build the SW app in XSDK of zynq pcie TRD.
I have followed the steps of zynq_PCIe_TRD_2015.4 and Qt & Qwt Build Instructions(Qt 5.4.2,Qwt6.1.2).
But when build the zynq_pcie_qt project I got the error from xsdk as this :
6:23:55 **** Build of configuration Default for project zynq_pcie_qt ****
arm-xilinx-linux-gnueabi-g++ -c -pipe -O3 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/QT/include/QtGui -I/opt/QT/include/QtCore -Imoc -I/opt/QT/mkspecs/arm-xilinx-linux-gnueabi-g++ -o obj/mainwindow.o qt_app/mainwindow.cpp
In file included from qt_app/mainwindow.cpp:29:0:
qt_app/mainwindow.h:28:23: fatal error: QMainWindow: No such file or directory
make: *** [obj/mainwindow.o] 错误 1
16:23:55 Build Finished (took 111ms)
And when I tried to fix the makefile of zynq_pcie_qt to find QMainWindow I got another "No such file or directory".
I am sure I have forgot something important, but I don't know!
04-02-2018 05:57 PM
One thing that I am not sure is that I use the arm-xilinx-linux-XXX tools of petalinux, not the XSDK, to build QT5 and qwt6.1.4 , should this cause problem? If use XSDK's tools I don't know which folder should I export in linux?
04-04-2018 10:32 AM
Could you please confirm if you are using
04-04-2018 08:11 PM
Thank you for your reply.
I build and install the qt and qwt following this one:
just because I use Qt5.4.2 and qwt6.1.2.
And I gedit the make of zynq_pcie_qt project, I found Qwt lib is not included, it seems qmake does not know the qwt has been installed.