Skip to content

Commit

Permalink
Build is now working with CMake and QMake
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Langenbach authored and nbergont committed Apr 1, 2014
1 parent 5467b50 commit bd1ad0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion QGVCore/GraphViz.pri
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#GraphViz librairie
DEFINES += WITH_CGRAPH
INCLUDEPATH += private
QMAKE_CXXFLAGS += -DQGVCORE_LIB -DQMAKE_MOC
QMAKE_CXXFLAGS += -DQGVCORE_LIB

unix {
CONFIG += link_pkgconfig
Expand Down
4 changes: 1 addition & 3 deletions QGVCore/QGVScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ License along with this library.
***************************************************************/
#include "QGVScene.h"
// The following include allows the automoc to detect, that it must moc this class
#ifndef QMAKE_MOC
#include "moc_QGVScene.cpp"
#endif
#include "moc_QGVScene.cpp"
#include <QDebug>

#include <QGVNode.h>
Expand Down

0 comments on commit bd1ad0e

Please sign in to comment.