+ do not include from .qrc generated .cpp file from other .cpp file but add it to build system

This commit is contained in:
wmayer 2016-01-05 17:35:58 +01:00
parent a9189fb052
commit 53024a6140
8 changed files with 1 additions and 16 deletions

View File

@ -32,7 +32,6 @@
#include "Workbench.h"
#include "ViewProviderPage.h"
#include "ViewProviderView.h"
//#include "resources/qrc_Drawing.cpp"
// use a different name to CreateCommand()
void CreateDrawingCommands(void);

View File

@ -52,7 +52,6 @@
#include "ViewProviderFemConstraintPulley.h"
#include "ViewProviderResult.h"
#include "Workbench.h"
//#include "resources/qrc_Fem.cpp"
// use a different name to CreateCommand()
void CreateFemCommands(void);

View File

@ -30,7 +30,6 @@
#include <Gui/Application.h>
#include <Gui/Language/Translator.h>
#include "Workbench.h"
//#include "resources/qrc_MeshPart.cpp"
// use a different name to CreateCommand()
void CreateMeshPartCommands(void);

View File

@ -45,8 +45,6 @@
#include "ViewProviderScaled.h"
#include "ViewProviderMultiTransform.h"
//#include "resources/qrc_PartDesign.cpp"
// use a different name to CreateCommand()
void CreatePartDesignCommands(void);

View File

@ -34,8 +34,6 @@
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
//#include "resources/qrc_ReverseEngineering.cpp"
// use a different name to CreateCommand()
void CreateReverseEngineeringCommands(void);

View File

@ -36,7 +36,6 @@
#include "ViewProviderTrajectoryDressUp.h"
#include "ViewProviderTrajectoryCompound.h"
#include "Workbench.h"
//#include "resources/qrc_Robot.cpp"
// use a different name to CreateCommand()
void CreateRobotCommands(void);

View File

@ -23,12 +23,6 @@
#include "ViewProviderSpreadsheet.h"
#include "SpreadsheetView.h"
#if QT_VERSION >= 0x050000
#include "qrc_Spreadsheet.cpp"
#else
#include "qrc_Spreadsheet.cxx"
#endif
// use a different name to CreateCommand()
void CreateSpreadsheetCommands(void);

View File

@ -40,7 +40,6 @@ SET(SpreadsheetGui_RES_SRCS
Resources/Spreadsheet.qrc
)
#fc_add_resources(SpreadsheetGui_QRC_SRCS ${SpreadsheetGui_RES_SRCS})
qt4_add_resources(SpreadsheetGui_QRC_SRCS ${SpreadsheetGui_RES_SRCS})
set(SpreadsheetGui_UIC_SRCS
@ -52,7 +51,7 @@ qt4_wrap_ui(SpreadsheetGui_UIC_HDRS ${SpreadsheetGui_UIC_SRCS})
SET(SpreadsheetGui_SRCS
# ${SpreadsheetGui_MOC_SRCS}
# ${SpreadsheetGui_QRC_SRCS}
${SpreadsheetGui_QRC_SRCS}
AppSpreadsheetGui.cpp
AppSpreadsheetGuiPy.cpp
Command.cpp