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

Compiling With MinGW #87

Open
yldzmuhammed opened this issue May 16, 2022 · 0 comments
Open

Compiling With MinGW #87

yldzmuhammed opened this issue May 16, 2022 · 0 comments

Comments

@yldzmuhammed
Copy link

Hello everyone,
First of all, thank you all for this great job.

I am basically an embedded software developer with c and I am used to using IDEs like Keil. It is ready to use. I am not very familiar with any make stuff. I am learning Make (CMake/QMake), Cpp, and QT. And I am learning and doing research.
While I am learning these things, it is better to do it with a project.

As I said. I am an embedded software developer, I created a USB Device (Not HID for a reason. There are many HID libraries and I want to use a custom class).

My app will detect when a specific device is plugged in/out. This is why I want to use this library.

Until now, I have built the project around the MinGW. But this library builds around MSVC.
I would like to be able to build this library with MinGW.

I cloned the library and others (hid and device libraries that you mentioned in the repo with versions).

I try to build the project with QT Creator and got some errors. I am not sure if it is related to the selected compiler or what.
I pasted the error messages below. Can you guide me on how to solve this issue and make it ready to use for MinGW?
I pasted the compile output below, and as a text file.
error messages.txt

11:35:49: Running steps for project QtUsb...
11:35:49: Starting: "C:\Qt\5.15.2\mingw81_64\bin\qmake.exe" C:\Users\muhammet.yildiz\Downloads\QtUsb-master\QtUsb.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Info: creating stash file C:\Users\muhammet.yildiz\Downloads\QtUsb\build\Desktop_Qt_5_15_2_MinGW_64_bit-Debug\.qmake.stash
Info: creating cache file C:\Users\muhammet.yildiz\Downloads\QtUsb\build\Desktop_Qt_5_15_2_MinGW_64_bit-Debug\.qmake.cache
11:35:50: The process "C:\Qt\5.15.2\mingw81_64\bin\qmake.exe" exited normally.
11:35:50: Starting: "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -f C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/Makefile qmake_all
cd src\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\src.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd src\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src'
cd usb\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\usb.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
Project MESSAGE: Build as Qt module for win32 mingw
Project MESSAGE: Build as Qt module for win32 mingw
Project MESSAGE: Build as Qt module for win32 mingw
cd usb\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[2]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src/usb'
mingw32-make[2]: Nothing to be done for 'qmake_all'.
mingw32-make[2]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src/usb'
mingw32-make[1]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src'
cd examples\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\examples\examples.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd examples\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples'
cd usb\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\examples\usb\usb.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd usb\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[2]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb'
cd SimpleBulkTransfer\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\examples\usb\SimpleBulkTransfer\SimpleBulkTransfer.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd SimpleBulkTransfer\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/SimpleBulkTransfer'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/SimpleBulkTransfer'
cd UsbNotifications\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\examples\usb\UsbNotifications\UsbNotifications.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd UsbNotifications\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/UsbNotifications'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/UsbNotifications'
cd Hid\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\examples\usb\Hid\Hid.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd Hid\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/Hid'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/Hid'
cd ListDevices\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\examples\usb\ListDevices\ListDevices.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd ListDevices\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/ListDevices'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb/ListDevices'
mingw32-make[2]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples/usb'
mingw32-make[1]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/examples'
cd tests\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\tests.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd tests\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[1]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests'
cd auto\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\auto\auto.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd auto\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[2]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto'
cd cmake\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\auto\cmake\cmake.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd cmake\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/cmake'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/cmake'
cd qusb\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\auto\qusb\qusb.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd qusb\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qusb'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qusb'
cd qusbdevice\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\auto\qusbdevice\qusbdevice.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd qusbdevice\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qusbdevice'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qusbdevice'
cd qusbendpoint\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\auto\qusbendpoint\qusbendpoint.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd qusbendpoint\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qusbendpoint'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qusbendpoint'
cd qhiddevice\ && C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\tests\auto\qhiddevice\qhiddevice.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
cd qhiddevice\ && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile qmake_all
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qhiddevice'
mingw32-make[3]: Nothing to be done for 'qmake_all'.
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto/qhiddevice'
mingw32-make[2]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests/auto'
mingw32-make[1]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/tests'
11:36:44: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited normally.
11:36:44: Starting: "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" -j8
cd src\ && ( if not exist Makefile C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\src.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" ) && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile 
mingw32-make[1]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src'
cd usb\ && ( if not exist Makefile C:\Qt\5.15.2\mingw81_64\bin\qmake.exe -o Makefile C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\usb.pro -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" ) && C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile 
mingw32-make[2]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src/usb'
C:/Qt/Tools/mingw810_64/bin/mingw32-make -f Makefile.Debug
mingw32-make[3]: Entering directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src/usb'
g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\qusb.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.cpp
g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\qusbendpoint.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.cpp
g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\qusbdevice.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.cpp
g++ -c -fno-keep-inline-dllexport -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\qhiddevice.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qhiddevice.cpp
gcc -c -fno-keep-inline-dllexport -g -std=gnu11 -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\hid.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\windows\hid.c
gcc -c -fno-keep-inline-dllexport -g -std=gnu11 -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\core.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\core.c
gcc -c -fno-keep-inline-dllexport -g -std=gnu11 -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\descriptor.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\descriptor.c
gcc -c -fno-keep-inline-dllexport -g -std=gnu11 -fno-exceptions -Wall -Wextra -Wextra -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_BUILD_USB_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_USB_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_QML_DEBUG -DQT_NO_EXCEPTIONS -DQT_CORE_LIB -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -I. -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi -IC:\Users\muhammet.yildiz\Downloads\QtUsb-master\hidapi\hidapi -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb -I..\..\include -I..\..\include\QtUsb -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0 -IC:/Users/muhammet.yildiz/Downloads/QtUsb-master/include/QtUsb/0.7.0/QtUsb -Itmp -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2 -IC:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore -IC:\Qt\5.15.2\mingw81_64\include -IC:\Qt\5.15.2\mingw81_64\include\QtCore -I.moc\debug -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -IC:\Qt\5.15.2\mingw81_64\mkspecs\win32-g++  -o .obj\debug\events_windows.o C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\os\events_windows.c
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\os\events_windows.c:21:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:7:2: error: invalid preprocessing directive #warn; did you mean #warning?
 #warn "msvc/config.h shouldn't be included for your development environment."
  ^~~~
  warning
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:8:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
 #error "Please make sure the msvc/ directory is removed from your build path."
  ^~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:13:2: error: #error "Visual Studio 2013 or later is required."
 #error "Visual Studio 2013 or later is required."
  ^~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:27: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4127)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:29: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4200)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:31: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4201)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:33: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4324)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:35: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\libusbi.h:27,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\core.c:23:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:7:2: error: invalid preprocessing directive #warn; did you mean #warning?
 #warn "msvc/config.h shouldn't be included for your development environment."
  ^~~~
  warning
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:8:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
 #error "Please make sure the msvc/ directory is removed from your build path."
  ^~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:13:2: error: #error "Visual Studio 2013 or later is required."
 #error "Visual Studio 2013 or later is required."
  ^~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:27: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4127)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:29: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4200)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:31: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4201)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:33: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4324)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:35: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\libusbi.h:27,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\libusb\libusb\descriptor.c:22:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:7:2: error: invalid preprocessing directive #warn; did you mean #warning?
 #warn "msvc/config.h shouldn't be included for your development environment."
  ^~~~
  warning
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:8:2: error: #error "Please make sure the msvc/ directory is removed from your build path."
 #error "Please make sure the msvc/ directory is removed from your build path."
  ^~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:13:2: error: #error "Visual Studio 2013 or later is required."
 #error "Visual Studio 2013 or later is required."
  ^~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:27: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4127)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:29: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4200)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:31: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4201)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:33: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4324)
 
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\deps\msvc/config.h:35: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
mingw32-make[3]: *** [Makefile.Debug:877: .obj/debug/descriptor.o] Error 1
mingw32-make[3]: *** Waiting for unfinished jobs....
mingw32-make[3]: *** [Makefile.Debug:868: .obj/debug/core.o] Error 1
mingw32-make[3]: *** [Makefile.Debug:887: .obj/debug/events_windows.o] Error 1
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.h:5,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.h:4,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint_p.h:4,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.cpp:1:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:17:1: error: expected class-name before '{' token
 {
 ^
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:18:5: error: 'Q_OBJECT' does not name a type
     Q_OBJECT
     ^~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:18:5: note: the macro 'Q_OBJECT' had not yet been defined
In file included from C:\Qt\5.15.2\mingw81_64\include/QtCore/qobject.h:46,
                 from C:\Qt\5.15.2\mingw81_64\include/QtCore/qiodevice.h:45,
                 from C:\Qt\5.15.2\mingw81_64\include/QtCore/qtextstream.h:43,
                 from C:\Qt\5.15.2\mingw81_64\include\QtCore/qdebug.h:49,
                 from C:\Qt\5.15.2\mingw81_64\include\QtCore/QDebug:1,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.h:7,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.h:4,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint_p.h:4,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.cpp:1:
C:\Qt\5.15.2\mingw81_64\include/QtCore/qobjectdefs.h:170: note: it was later defined here
 #define Q_OBJECT \
 
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.h:5,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.h:4,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint_p.h:4,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbendpoint.cpp:1:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected '}' before end of line
     Q_DECLARE_PRIVATE(QUsb)
 ^   ~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:17:1: note: to match this '{'
 {
 ^
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected unqualified-id before end of line
     Q_DECLARE_PRIVATE(QUsb)
 ^   ~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected declaration before end of line
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.cpp:1:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:17:1: error: expected class-name before '{' token
 {
 ^
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:18:5: error: 'Q_OBJECT' does not name a type
     Q_OBJECT
     ^~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:18:5: note: the macro 'Q_OBJECT' had not yet been defined
In file included from C:\Qt\5.15.2\mingw81_64\include/QtCore/qmetatype.h:50,
                 from C:\Qt\5.15.2\mingw81_64\include/QtCore/qversionnumber.h:48,
                 from C:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2/QtCore/private/qglobal_p.h:80,
                 from C:\Qt\5.15.2\mingw81_64\include\QtCore\5.15.2\QtCore/private/qobject_p.h:55,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb_p.h:5,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.cpp:2:
C:\Qt\5.15.2\mingw81_64\include/QtCore/qobjectdefs.h:170: note: it was later defined here
 #define Q_OBJECT \
 
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.cpp:1:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected '}' before end of line
     Q_DECLARE_PRIVATE(QUsb)
 ^   ~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:17:1: note: to match this '{'
 {
 ^
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected unqualified-id before end of line
     Q_DECLARE_PRIVATE(QUsb)
 ^   ~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected declaration before end of line
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.h:5,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.cpp:1:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:17:1: error: expected class-name before '{' token
 {
 ^
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:18:5: error: 'Q_OBJECT' does not name a type
     Q_OBJECT
     ^~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:18:5: note: the macro 'Q_OBJECT' had not yet been defined
In file included from C:\Qt\5.15.2\mingw81_64\include/QtCore/qobject.h:46,
                 from C:\Qt\5.15.2\mingw81_64\include/QtCore/qiodevice.h:45,
                 from C:\Qt\5.15.2\mingw81_64\include/QtCore/qtextstream.h:43,
                 from C:\Qt\5.15.2\mingw81_64\include\QtCore/qdebug.h:49,
                 from C:\Qt\5.15.2\mingw81_64\include\QtCore/QDebug:1,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.h:7,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.cpp:1:
C:\Qt\5.15.2\mingw81_64\include/QtCore/qobjectdefs.h:170: note: it was later defined here
 #define Q_OBJECT \
 
In file included from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.h:5,
                 from C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusbdevice.cpp:1:
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected '}' before end of line
     Q_DECLARE_PRIVATE(QUsb)
 ^   ~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:17:1: note: to match this '{'
 {
 ^
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected unqualified-id before end of line
     Q_DECLARE_PRIVATE(QUsb)
 ^   ~~~~~~~
C:\Users\muhammet.yildiz\Downloads\QtUsb-master\src\usb\qusb.h:19:1: error: expected declaration before end of line
mingw32-make[3]: *** [Makefile.Debug:680: .obj/debug/qusbendpoint.o] Error 1
mingw32-make[3]: *** [Makefile.Debug:585: .obj/debug/qusb.o] Error 1
mingw32-make[3]: *** [Makefile.Debug:768: .obj/debug/qusbdevice.o] Error 1
mingw32-make[3]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src/usb'
mingw32-make[2]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src/usb'
mingw32-make[2]: *** [Makefile:45: debug] Error 2
mingw32-make[1]: Leaving directory 'C:/Users/muhammet.yildiz/Downloads/QtUsb/build/Desktop_Qt_5_15_2_MinGW_64_bit-Debug/src'
mingw32-make[1]: *** [Makefile:50: sub-usb-make_first] Error 2
mingw32-make: *** [Makefile:52: sub-src-make_first] Error 2
11:36:57: The process "C:\Qt\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project QtUsb (kit: Desktop Qt 5.15.2 MinGW 64-bit)
When executing step "Make"
11:36:57: Elapsed time: 01:08.
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

1 participant