Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR IN COMPILING #5

Open
satyamisme opened this issue Jun 13, 2018 · 4 comments
Open

ERROR IN COMPILING #5

satyamisme opened this issue Jun 13, 2018 · 4 comments

Comments

@satyamisme
Copy link

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));
^

@forth32
Copy link
Owner

forth32 commented Jun 13, 2018

Программа собирается только под linux. Сборка под windows не предусмотрена и не планируется в будущем.

@vishnus555
Copy link

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
#include
^~~~~~~~~~~
compilation terminated.
Makefile:373: recipe for target 'main.o' failed
make: *** [main.o] Error 1

@AliRazaManzoor
Copy link

sudo apt-get install qt5* ; qmake qhuaweiflash.pro ; make

@sysoleg
Copy link

sysoleg commented Mar 17, 2019

Force qmake to use qt5.
$ export QT_SELECT=qt5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants