Scribus plugins12/20/2023 Initial work on file format plugins eliminate ScPlugin::PluginType. QString::toDouble() now that those return 0 on failure as required. Replace QStoInt and QStodouble with the built-in QString::toInt() and ScribusApp* ScApp -> ScribusMainWindow* ScMW Use symbol visibilty controls for pureĬ code as well, and apply to correct compiler flag variables. #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.ĭefault to using -fvisibility=hidden on gcc4, enable use of default-hidden Fix Doxygen errors + move doxystrings into header files. Lots more to come :).Īdd in cmake build system. Rewrite the startup procedure to allow a different order to occur. Then add ADDSUBDIRECTORY (epub) to CMakeList.txt file in scribus/plugins/export/. Clone the scribus-plugin-export-plugin repository and put or symlink its src directory into scribus/plugins/export/ as epub. Make a new ScribusCore class to hold non main window variables and code and eventually allow SDI mode and non GUI mode. First make sure that you have the ScribusAPI plugin installed ( ). cvsignore for CMakeFiles, cmake_install.cmake The only extern I can see that should exist is the ScCore one. This has involved passing doc* or ScMW*s through to many functions, including the plugins. Remove the ScMW extern so we rely on the doc*s more and can exclude GUI interaction wherever possible, and possibly allow multiple ScMW's/SDI mode in the future. branches/Version13x/Scribus/scribus/plugins/myplugin/ĬMake includes for autotools so makedist should work and have a cmakeable fileset This commit was manufactured by cvs2svn to create branch 'Version135x'. We now get a doc window after new doc is run :) remove weird scraction in pixmap exports' export.h. Remove cmake if and let moc files be built. ![]() branches/Version135x/Scribus/scribus/plugins/myplugin/ Remove the old IFs for MOC/UIC that were commented out. use GLOB on some like docs so all we have to do is add the file to the directory and it will be installed. Some install path changes that affect Windowsīuilds here, please adjust if it doesnt build thereĬlean clean clean our cmake files. On Windows, link plugins to required libraries too ![]() ADD_SUBDIRECTORY(plugins) only after exe target is visible in scribus/CMakeLists.txt so that we can specify the exe target for plugins to link to (on Windows, they need its' import library) Fixes moc issues with VS+CMake and makes more sense anyway the old way was a workaround for automake issues. Don't build odtim at all if HAVE_XML not defined, instead of building empty plugin.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |