Undefined error 'undefined reference to `_imp___ZN12QApplicationC1ERiPPci'"
I am new to QT, I am currently using QT creator 5.7 and QT 4.0.2 . I tried building the Hello world simple application using QT widgets. below is the code in .pro
QT += core gui
QMAKE_CXXFLAGS += -std=c++11
greaterThan(QT_MAJOR_VERSION,4):QT += widgets
All librarly is getting included while compiling, I am not sure why Undefined error is thrown. Please help to understand this issue
Can you try a default project?
File -> New Project -> Application -> Qt widget project
and see if that run.
I tried that, and shows the error "error: [ui_widget.h] Error -1073741515"
Something wrong with your install.
Qt 4.02 is extremely old. :)
Windows or linux?
I am currently installed QT5.7 for Windows and the compiler I installed is GCC 4.9.1 for QT. I got this from the QT links
@Mathivalavan If you have any anti virus software running disable it and try again
I tried , current Virus scanning is not running. I am getting the same issue
" currently installed QT5.7 for Windows and the compiler I installed is GCC 4.9.1"
Something NOT right. GCC= mingw ?
Normally Qt comes with mingw compiler (on windows) and no extra installes needed.
This one has all working out of the box