i have followed the steps here to solve problems with “qwineventnotifier_p.h”
https://code.google.com/p/qextserialport/issues/detail?id=105
after that i got 2 another errors: undefined reference to QextWinEventNotifier
Here is my *.pro file (sources, headers, forms omitted)
include(C:/QtSDK/qextserialport-1.2rc/src/qextserialport.pri)
QT += core gui
QT += sql
DEFINES += NCREPORT_IMPORT
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
LIBS += -L "C:/Program Files/NCReport/2.11.0.MinGW.Qt5.1.1.eval/lib" -lncreport2
INCLUDEPATH += "C:/Program Files/NCReport/2.11.0.MinGW.Qt5.1.1.eval/include"
TARGET = DBMS
TEMPLATE = app
CONFIG += qt
QT += network xml
RESOURCES += \
resources.qrc
AND HERES MY COMPILE OUTPUT
14:04:41: Running build steps for project DBMS...
14:04:41: Configuration unchanged, skipping qmake step.
14:04:41: Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe"
C:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Release
mingw32-make.exe[1]: Entering directory `C:/Users/ACER/Desktop/ISKUL/STI/7'
g++ -Wl,-s -mthreads -Wl,-subsystem,windows -o release\DBMS.exe object_script.DBMS.Release -L"c:\QtSDK\Desktop\Qt\4.8.1\mingw\lib" -lmingw32 -lqtmain -lsetupapi -ladvapi32 -luser32 -L "C:/Program Files/NCReport/2.11.0.MinGW.Qt5.1.1.eval/lib" -lncreport2 -lQtSql4 -lQtXml4 -lQtGui4 -lQtNetwork4 -lQtCore4
mingw32-make.exe[1]: Leaving directory `C:/Users/ACER/Desktop/ISKUL/STI/7'
./release\qextserialport_win.o:qextserialport_win.cpp:(.text+0x56d): undefined reference to `QextWinEventNotifier::setEnabled(bool)'
./release\qextserialport_win.o:qextserialport_win.cpp:(.text+0xb41): undefined reference to `QextWinEventNotifier::QextWinEventNotifier(void*, QObject*)'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [release\DBMS.exe] Error 1
mingw32-make.exe: *** [release] Error 2
14:04:45: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project DBMS (target: Desktop)
When executing build step 'Make'
↧