Skip to content

Commit

Permalink
TechDraw: SVG export refactoring - Fix DLL export/import issue
Browse files Browse the repository at this point in the history
  • Loading branch information
pavltom authored and WandererFan committed Jun 11, 2019
1 parent 5f0be3c commit bf5433a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/App/CMakeLists.txt
Expand Up @@ -192,7 +192,7 @@ endif(FREECAD_USE_PCH)

add_library(TechDraw SHARED ${TechDraw_SRCS} ${Draw_SRCS} ${TechDrawAlgos_SRCS}
${Geometry_SRCS} ${Python_SRCS})
target_link_libraries(TechDraw ${TechDrawLIBS};${QT_QTXML_LIBRARY};${QtXmlPatternsLib};${TechDraw})
target_link_libraries(TechDraw ${TechDrawLIBS};${QtXmlPatternsLib};${TechDraw})

ADD_CUSTOM_COMMAND(TARGET TechDraw
POST_BUILD
Expand Down
1 change: 1 addition & 0 deletions src/Mod/TechDraw/App/QDomNodeModel.cpp
Expand Up @@ -23,6 +23,7 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#include "PreCompiled.h"

#include "QDomNodeModel.h"

Expand Down
2 changes: 1 addition & 1 deletion src/Mod/TechDraw/App/QDomNodeModel.h
Expand Up @@ -5,7 +5,7 @@
#include <QXmlNamePool>
#include <QDomDocument>

class QDomNodeModel: public QAbstractXmlNodeModel
class TechDrawExport QDomNodeModel: public QAbstractXmlNodeModel
{
public:
QDomNodeModel(QXmlNamePool, QDomDocument, bool parsedReadOnly = false);
Expand Down

0 comments on commit bf5433a

Please sign in to comment.