Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qextserialport error: qwineventnotifier_p.h file not found
Qt 6.11 is out! See what's new in the release blog

Qextserialport error: qwineventnotifier_p.h file not found

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi! I am new to QT and i cant make a project to compile maybe because of the broken "qwineventnotifier_p.h" file

    i am using qextserialport-1.2rc

    Here is the compile output:

    @02:04:22: Running build steps for project DBMS...
    02:04:22: Configuration unchanged, skipping qmake step.
    02:04:22: 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/71' g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DNCREPORT_IMPORT -DQT_DLL -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtCore" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtNetwork" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtGui" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtXml" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\QtSql" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include" -I"c:\QtSDK\qextserialport-1.2rc\src" -I"c:\Program Files\NCReport\2.11.0.MinGW.Qt4.8.5.eval\include" -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\include\ActiveQt" -I"release" -I"." -I"c:\QtSDK\Desktop\Qt\4.8.1\mingw\mkspecs\win32-g++" -o release\qextserialport_win.o c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp:43:50: error: QtCore/private/qwineventnotifier_p.h: No such file or directory c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp: In member function 'bool QextSerialPortPrivate::open_sys(QFlags<QIODevice::OpenModeFlag>)': c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp:111: error: invalid use of incomplete type 'struct QWinEventNotifier' c:\QtSDK\qextserialport-1.2rc\src\/qextserialport_p.h:173: error: forward declaration of 'struct QWinEventNotifier' c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp:113: error: no matching function for call to 'QextSerialPort::connect(QWinEventNotifier*&, const char [19], QextSerialPort* const&, const char [23], Qt::ConnectionType)' c:\QtSDK\Desktop\Qt\4.8.1\mingw\include/QtCore/qobject.h:204: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType) c:\QtSDK\Desktop\Qt\4.8.1\mingw\include/QtCore/qobject.h:217: note: static bool QObject::connect(const QObject*, const QMetaMethod&, const QObject*, const QMetaMethod&, Qt::ConnectionType) c:\QtSDK\Desktop\Qt\4.8.1\mingw\include/QtCore/qobject.h:337: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp: In member function 'bool QextSerialPortPrivate::close_sys()': c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp:128: error: invalid use of incomplete type 'struct QWinEventNotifier' c:\QtSDK\qextserialport-1.2rc\src\/qextserialport_p.h:173: error: forward declaration of 'struct QWinEventNotifier' c:\QtSDK\qextserialport-1.2rc\src\qextserialport_win.cpp:129: error: invalid use of incomplete type 'struct QWinEventNotifier' c:\QtSDK\qextserialport-1.2rc\src\/qextserialport_p.h:173: error: forward declaration of 'struct QWinEventNotifier' mingw32-make.exe[1]: Leaving directory C:/Users/ACER/Desktop/ISKUL/STI/71'
    mingw32-make.exe[1]: *** [release/qextserialport_win.o] Error 1
    mingw32-make.exe: *** [release] Error 2
    02:04:29: 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'@

    thanks guys!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please don't post the same question multiple times. One is enough.

      "Duplicate":http://qt-project.org/forums/viewthread/35466/

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved