Browse Source

Fixed Windows warnings and linker error.

Sascha Zelzer 13 years ago
parent
commit
dfc31a30ee

+ 0 - 1
Libs/CommandLineModules/Backend/LocalProcess/CMakeLists.txt

@@ -22,7 +22,6 @@ set(KIT_SRCS
 
 # Headers that should run through moc
 set(KIT_MOC_SRCS
-  ctkCmdLineModuleProcessTask.h
   ctkCmdLineModuleProcessWatcher_p.h
 )
 

+ 1 - 1
Libs/CommandLineModules/Core/ctkCmdLineModuleDefaultPathBuilder.h

@@ -25,7 +25,7 @@
 #include <QStringList>
 #include <QScopedPointer>
 
-class ctkCmdLineModuleDefaultPathBuilderPrivate;
+struct ctkCmdLineModuleDefaultPathBuilderPrivate;
 
 /**
  * \class ctkCmdLineModuleDefaultPathBuilder

+ 2 - 2
Libs/CommandLineModules/Core/ctkCmdLineModuleReference.h

@@ -62,7 +62,7 @@ public:
 private:
 
   friend class ctkCmdLineModuleManager;
-  friend uint qHash(const ctkCmdLineModuleReference&);
+  friend uint CTK_CMDLINEMODULECORE_EXPORT qHash(const ctkCmdLineModuleReference&);
 
   QSharedDataPointer<ctkCmdLineModuleReferencePrivate> d;
 
@@ -70,6 +70,6 @@ private:
 
 Q_DECLARE_METATYPE(ctkCmdLineModuleReference)
 
-CTK_CMDLINEMODULECORE_EXPORT uint qHash(const ctkCmdLineModuleReference& moduleRef);
+uint CTK_CMDLINEMODULECORE_EXPORT qHash(const ctkCmdLineModuleReference& moduleRef);
 
 #endif // CTKCMDLINEMODULEREFERENCE_H