Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/plug-in-interface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fail-fast: true
matrix:
include:
- os: windows-2019
- os: windows-latest
OUTPUT_DIR: C:/RoboDK/bin/plugins
QT_VERSION: "5.15.2"

Expand All @@ -51,14 +51,17 @@ jobs:
cache: "true"
cache-key-prefix: "install-qt-action-${{ matrix.os }}"

- name: Prepare Visual Studio environment on Windows
if: startsWith(matrix.os, 'windows')
uses: johnnynunez/vsdevenv-shell@v2

- name: Configure and build Plug-In-Interface on Windows
if: startsWith(matrix.os, 'windows')
run: |
cd ${{ github.workspace }}
call "%programfiles(x86)%\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x86_amd64
qmake Plug-In-Interface.pro -spec win32-msvc CONFIG+=qtquickcompiler CONFIG+=${{ env.BUILD_TYPE }}
call %IQTA_TOOLS%\QtCreator\bin\jom\jom.exe
shell: cmd
shell: vsdevenv x64 cmd {0}

- name: Configure and build Plug-In-Interface on Unix
if: (!startsWith(matrix.os, 'windows'))
Expand Down
13 changes: 1 addition & 12 deletions Plugin-OPC-UA/PluginOPCUA.pro
Original file line number Diff line number Diff line change
Expand Up @@ -118,18 +118,7 @@ FORMS += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------


Expand Down
16 changes: 3 additions & 13 deletions PluginAppLoader/AppLoader.pro
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ CONFIG(release, debug|release) {
#--------------------------
# Add header and source files (use File->New File or Project and add your files)
# This can be modified manually or automatically by Qt Creator
INCLUDEPATH += ./zip

HEADERS += \
applistdelegate.h \
apploader.h \
Expand Down Expand Up @@ -117,17 +119,5 @@ FORMS += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface ./zip
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------

13 changes: 1 addition & 12 deletions PluginAttachObject/PluginAttachObject.pro
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,5 @@ SOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
13 changes: 1 addition & 12 deletions PluginAttachView/PluginAttachView.pro
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,5 @@ SOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
13 changes: 1 addition & 12 deletions PluginBallbarTracker/PluginBallbarTracker.pro
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,5 @@ SOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
13 changes: 1 addition & 12 deletions PluginCollisionSensor/PluginCollisionSensor.pro
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,5 @@ SOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
12 changes: 3 additions & 9 deletions PluginEmbedding/PluginEmbedding.pro
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,11 @@ SOURCES += \
pluginembedding.cpp \
pluginform.cpp

FORMS += \
pluginform.ui

#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------

FORMS += \
pluginform.ui
14 changes: 1 addition & 13 deletions PluginExample/PluginExample.pro
Original file line number Diff line number Diff line change
Expand Up @@ -104,20 +104,8 @@ RESOURCES += \
resources1.qrc



#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
14 changes: 1 addition & 13 deletions PluginLVDT/PluginLVDT.pro
Original file line number Diff line number Diff line change
Expand Up @@ -99,20 +99,8 @@ SOURCES += \




#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
15 changes: 1 addition & 14 deletions PluginLockTCP/PluginLockTCP.pro
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,8 @@ SOURCES += \
PluginLockTCP.cpp




#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
13 changes: 1 addition & 12 deletions PluginOpenGL-Shaders/PluginChip8Opengl.pro
Original file line number Diff line number Diff line change
Expand Up @@ -137,18 +137,7 @@ SOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------


Expand Down
13 changes: 1 addition & 12 deletions PluginOpenGL/PluginOpengl.pro
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,5 @@ SOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
13 changes: 1 addition & 12 deletions PluginRealTime/PluginRealTime.pro
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,5 @@ RESOURCES += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
15 changes: 6 additions & 9 deletions PluginRoboUI/PluginRoboUI.pro
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ exists( "$$PWD/../../destdir_rdk_plugins.pri" ) {

INCLUDEPATH += \
$${PROJECT_ROOT}/imgui \
$${PROJECT_ROOT}/../robodk_interface

SOURCES += \
imgui/imgui.cpp \
Expand All @@ -74,8 +73,6 @@ SOURCES += \
imgui/imgui_impl_qt.cpp \
imgui/imgui_tables.cpp \
imgui/imgui_widgets.cpp \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp \
roboui.cpp

HEADERS += \
Expand All @@ -86,13 +83,13 @@ HEADERS += \
imgui/imstb_rectpack.h \
imgui/imstb_textedit.h \
imgui/imstb_truetype.h \
../robodk_interface/iapprobodk.h \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h \
../robodk_interface/robodk_interface.h \
../robodk_interface/robodktools.h \
../robodk_interface/robodktypes.h \
roboui.h

RESOURCES += \
roboui.qrc

#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
13 changes: 1 addition & 12 deletions PluginRobotPilot/PluginRobotPilot.pro
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,5 @@ FORMS += \
#--------------------------
# Header and source files required by any RoboDK plugin
# Do not change this section, make sure to have the robodk_interface folder up one folder
HEADERS += \
../robodk_interface/iitem.h \
../robodk_interface/irobodk.h\
../robodk_interface/iapprobodk.h \
../robodk_interface/robodktypes.h \
../robodk_interface/robodktools.h \

SOURCES += \
../robodk_interface/robodktools.cpp \
../robodk_interface/robodktypes.cpp

INCLUDEPATH += ../robodk_interface
include($$PWD/../robodk_interface/robodk_interface.pri)
#--------------------------
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ Requirements
-------------

Each RoboDK Plug-In must be developed using the Qt Creator and follow Qt's project guidelines.
For convenience in connecting the Plugin Interface to third-party projects, the `robodk_interface` folder contains a file with all dependencies.
This file can be included using the `include` directive in the qmake project:
```
include($$PWD/../robodk_interface/robodk_interface.pri)
```
It is recommended to use the [PluginExample](./PluginExample/) project to get started with your new RoboDK Plug-In (double click PluginExample.pro to open it with Qt Creator).

RoboDK must be installed to develop Plug-Ins. The free version of RoboDK is enough to develop a Plug-In as a proof of concept.
Expand Down
Loading
Loading