Open satyamisme opened 6 years ago
Программа собирается только под linux. Сборка под windows не предусмотрена и не планируется в будущем.
g++ -c -m64 -pipe -Wno-unused-result -std=c++11 -g -Wno-write-strings -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o main.o main.cpp main.cpp:1:10: fatal error: QtWidgets: No such file or directory
^~~~~~~~~~~
compilation terminated. Makefile:373: recipe for target 'main.o' failed make: *** [main.o] Error 1
sudo apt-get install qt5* ; qmake qhuaweiflash.pro ; make
Force qmake to use qt5.
$ export QT_SELECT=qt5
E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:-1: In member function 'void MainWindow::Menu_Part_Store()':
E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:461: error: 'bzero' was not declared in this scope bzero(hdr,sizeof(hdr)); ^
E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:-1: In member function 'void MainWindow::DataChanged()':
E:\hu\learn\qpr\qhuaweiflash-master\main.cpp:680: error: 'bzero' was not declared in this scope bzero(tdata,ptable->psize(hrow)); ^