Hey... I was trying to compile from source on linux. I followed the steps in the provided pdf.
Got this error...
Code:
~/codeMonk/AwesomeBump/Sources/glwidget.cpp:41: error: QtWidgets: No such file or directory
#include <QtWidgets>
^
from compile output window....
Code:
23:49:04: Running steps for project AwesomeBump...
23:49:04: Configuration unchanged, skipping qmake step.
23:49:04: Starting: "/usr/bin/make"
g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I../Sources -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include -I../shared -Iinclude -I/usr/X11R6/include -I. -I. -I../Sources -I. -o glwidget.o ../Sources/glwidget.cpp
../Sources/glwidget.cpp:41:21: fatal error: QtWidgets: No such file or directory
#include <QtWidgets>
^
compilation terminated.
make: *** [glwidget.o] Error 1
23:49:04: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project AwesomeBump (kit: Desktop)
When executing step 'Make'
23:49:04: Elapsed time: 00:00.
and am running.. Qt Creator 3.0.1 Based on Qt 5.4.0 (GCC 4.8.2 20140120 (Red Hat 4.8.2-16), 64 bit) on centos 7. any help ?
Bookmarks