Skip to content

Commit

Permalink
Added QtSerial again
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Oct 7, 2024
1 parent 8833362 commit dc0c044
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build-vscp-works-qt-Desktop_Qt_5_14_2_GCC_64bit-Debug
build
.venv
src/CMakeCache.txt
src/CMakeFiles/
src/cmake_install.cmake
Expand Down
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
"format": "cpp",
"codecvt": "cpp",
"charconv": "cpp",
"semaphore": "cpp"
"semaphore": "cpp",
"qserialport": "cpp",
"qcanbus": "cpp"
},
"python.pythonPath": "/usr/bin/python3",
"files.exclude": {
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ elseif(UNIX)
endif()

if (MSVC)
# use precompiled headers
# use precompiled headers
set (CMAKE_AUTOMOC_MOC_OPTIONS "-bpch.h ")
endif()

Expand Down
1 change: 1 addition & 0 deletions src/bootloaderwizard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ CWizardPageLoadMdf::validatePage(void)
QMessageBox::Ok);
return false;
}

QApplication::restoreOverrideCursor();

setField("boot.firmware.guid", stdregs.getGUIDStr().c_str());
Expand Down
10 changes: 5 additions & 5 deletions src/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
#include <QMessageBox>
#include <QtWidgets>

// #include <QtSerialPort/QSerialPort>
// #include <QCanBus>
// #include <QCanBusDevice>
// #include <QCanBusFactory>
// #include <QCanBusFrame>
#include <QtSerialPort/QSerialPort>
#include <QtSerialBus/QCanBus>
#include <QtSerialBus/QCanBusDevice>
#include <QtSerialBus/QCanBusFactory>
#include <QtSerialBus/QCanBusFrame>

#include "filedownloader.h"
#include "vscpworks.h"
Expand Down

0 comments on commit dc0c044

Please sign in to comment.