[Marble-commits] KDE/kdeedu/marble/src/plugins/render/aprs
Dennis Nienhüser
earthwings at gentoo.org
Tue May 18 22:04:06 CEST 2010
SVN commit 1128256 by nienhueser:
Link against moc generated qextserialport code. Fixes plugin loading with QTONLY. Compile platform specific code. Should fix windows build (no windows system to test atm, will do tomorrow).
M +5 -2 CMakeLists.txt
M +2 -0 qextserialport.cpp
--- trunk/KDE/kdeedu/marble/src/plugins/render/aprs/CMakeLists.txt #1128255:1128256
@@ -24,11 +24,14 @@
AprsFile.cpp
qextserialport.cpp
- posix_qextserialport.cpp )
+ ${serial_src} )
set( aprs_UI AprsConfigWidget.ui )
qt4_wrap_ui( aprs_SRCS ${aprs_UI} )
+if (QTONLY)
+qt4_automoc( ${aprs_SRCS} )
+endif (QTONLY)
+
marble_add_plugin( AprsPlugin ${aprs_SRCS} )
#target_link_libraries( Aprs ${QT_QTWEBKIT_LIBRARY} )
-PROJECT(AprsPlugin)
--- trunk/KDE/kdeedu/marble/src/plugins/render/aprs/qextserialport.cpp #1128255:1128256
@@ -258,3 +258,5 @@
platformSpecificDestruct();
delete mutex;
}
+
+#include "qextserialport.moc"
More information about the Marble-commits
mailing list