-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d250a14
Showing
55 changed files
with
7,080 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
build/ | ||
# C++ objects and libs | ||
*.slo | ||
*.lo | ||
*.o | ||
*.a | ||
*.la | ||
*.lai | ||
*.so | ||
*.so.* | ||
*.dll | ||
*.dylib | ||
|
||
# Qt-es | ||
object_script.*.Release | ||
object_script.*.Debug | ||
*_plugin_import.cpp | ||
/.qmake.cache | ||
/.qmake.stash | ||
*.pro.user | ||
*.pro.user.* | ||
*.qbs.user | ||
*.qbs.user.* | ||
*.moc | ||
moc_*.cpp | ||
moc_*.h | ||
qrc_*.cpp | ||
ui_*.h | ||
*.qmlc | ||
*.jsc | ||
Makefile* | ||
*build-* | ||
*.qm | ||
*.prl | ||
|
||
# Qt unit tests | ||
target_wrapper.* | ||
|
||
# QtCreator | ||
*.autosave | ||
|
||
# QtCreator Qml | ||
*.qmlproject.user | ||
*.qmlproject.user.* | ||
|
||
# QtCreator CMake | ||
CMakeLists.txt.user* | ||
|
||
# QtCreator 4.8< compilation database | ||
compile_commands.json | ||
|
||
# QtCreator local machine specific files for imported projects | ||
*creator.user* |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(bean-cracker) | ||
|
||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") | ||
set(CMAKE_PREFIX_PATH /Users/integer/Qt/5.14.1/clang_64/lib/cmake/) | ||
set(CMAKE_AUTOMOC ON) | ||
set(CMAKE_AUTOUIC ON) | ||
set(CMAKE_AUTORCC ON) | ||
set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||
|
||
set(SOURCE_FILES main.cpp | ||
beanpacket.cpp | ||
beanpacketsloggermodel.cpp | ||
beanpacketsloggerheaderview.cpp | ||
beanpacketsloggerwindow.cpp | ||
beanpacketsmonitor.cpp | ||
beanpacketsmonitormodel.cpp | ||
beanpacketsplayermodel.cpp | ||
beanpacketsplayerwindow.cpp | ||
beanpacketssender.cpp | ||
beanpacketssendermodel.cpp | ||
beanpacketwidget.cpp | ||
main.cpp | ||
mainwindow.cpp | ||
) | ||
|
||
find_package(Qt5Core REQUIRED) | ||
find_package(Qt5Gui REQUIRED) | ||
find_package(Qt5Widgets REQUIRED) | ||
find_package(Qt5SerialPort REQUIRED) | ||
find_package(Qt5SerialBus REQUIRED) | ||
|
||
add_executable(bean-cracker ${SOURCE_FILES} ${SRC} ${UI_HEADERS}) | ||
|
||
#qt5_use_modules(bean-cracker Core Widgets Gui) | ||
|
||
target_link_libraries(${PROJECT_NAME} Qt5::Core) | ||
target_link_libraries(${PROJECT_NAME} Qt5::Gui) | ||
target_link_libraries(${PROJECT_NAME} Qt5::Widgets) | ||
target_link_libraries(${PROJECT_NAME} Qt5::SerialPort) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# bean-cracker | ||
BEAN bus analysing tool | ||
|
||
Draft tool for working with BEAN bus. | ||
|
||
Consists from: | ||
- monitor | ||
- logger | ||
- sender | ||
- player | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
#------------------------------------------------- | ||
# | ||
# Project created by QtCreator 2020-01-31T16:52:56 | ||
# | ||
#------------------------------------------------- | ||
|
||
QT += core gui serialport | ||
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = bean-cracker | ||
TEMPLATE = app | ||
macx:ICON = images/bean-cracker.icns | ||
macx:QMAKE_INFO_PLIST = resources/Info.plist | ||
|
||
# The following define makes your compiler emit warnings if you use | ||
# any feature of Qt which has been marked as deprecated (the exact warnings | ||
# depend on your compiler). Please consult the documentation of the | ||
# deprecated API in order to know how to port your code away from it. | ||
DEFINES += QT_DEPRECATED_WARNINGS | ||
|
||
# You can also make your code fail to compile if you use deprecated APIs. | ||
# In order to do so, uncomment the following line. | ||
# You can also select to disable deprecated APIs only up to a certain version of Qt. | ||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 | ||
|
||
CONFIG += c++11 | ||
|
||
SOURCES += \ | ||
beanpacketsloggermodel.cpp \ | ||
beanpacket.cpp \ | ||
beanpacketsloggerheaderview.cpp \ | ||
beanpacketsloggerwindow.cpp \ | ||
beanpacketsmonitor.cpp \ | ||
beanpacketsmonitormodel.cpp \ | ||
beanpacketsplayermodel.cpp \ | ||
beanpacketsplayerwindow.cpp \ | ||
beanpacketssender.cpp \ | ||
beanpacketssendermodel.cpp \ | ||
beanpacketwidget.cpp \ | ||
main.cpp \ | ||
mainwindow.cpp | ||
|
||
HEADERS += \ | ||
beanpacketsloggermodel.h \ | ||
beanpacket.h \ | ||
beanpacketsloggerheaderview.h \ | ||
beanpacketsloggerwindow.h \ | ||
beanpacketsmonitor.h \ | ||
beanpacketsmonitormodel.h \ | ||
beanpacketsplayermodel.h \ | ||
beanpacketsplayerwindow.h \ | ||
beanpacketssender.h \ | ||
beanpacketssendermodel.h \ | ||
beanpacketwidget.h \ | ||
mainwindow.h | ||
|
||
FORMS += \ | ||
beanpacketsloggerwindow.ui \ | ||
beanpacketsmonitor.ui \ | ||
beanpacketsplayerwindow.ui \ | ||
beanpacketssender.ui \ | ||
beanpacketwidget.ui \ | ||
mainwindow.ui | ||
|
||
|
||
# Default rules for deployment. | ||
qnx: target.path = /tmp/$${TARGET}/bin | ||
else: unix:!android: target.path = /opt/$${TARGET}/bin | ||
!isEmpty(target.path): INSTALLS += target | ||
|
||
DISTFILES += \ | ||
resources/Info.plist | ||
|
||
RESOURCES += \ | ||
resources.qrc |
Oops, something went wrong.