Skip to content

Commit

Permalink
Delete plugin.cpp
Browse files Browse the repository at this point in the history
more
  • Loading branch information
boutinb committed Feb 4, 2025
1 parent 7095c82 commit 4eaba42
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 67 deletions.
4 changes: 0 additions & 4 deletions Desktop/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@
#include <boost/iostreams/device/null.hpp>

#include "communitydefs.h"
#include <QtPlugin>

//The following seemed to be necessary for loading the plugin on Windows (making it static so it links properly)
Q_IMPORT_PLUGIN(JASPQmlPlugin)

using namespace std;
using namespace Modules;
Expand Down
6 changes: 2 additions & 4 deletions QMLComponents/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ qt_add_qml_module(
URI JASP.Controls
OUTPUT_DIRECTORY "JASP/Controls"
RESOURCE_PREFIX /jasp-stats.org/imports
#PLUGIN_TARGET QMLComponentsPlugin
DEPENDENCIES QtQuick
#NO_PLUGIN_OPTIONAL
#NO_GENERATE_PLUGIN_SOURCE
#CLASS_NAME JASPQmlPlugin
SOURCES ${SOURCE_FILES} ${HEADER_FILES}
QML_FILES ${QML_FILES}
)

# This define is needed for the linking
target_compile_definitions(QMLComponents PUBLIC QT_STATICPLUGIN)

if(LINUX)
Expand Down
59 changes: 0 additions & 59 deletions QMLComponents/plugin.cpp

This file was deleted.

0 comments on commit 4eaba42

Please sign in to comment.