Skip to content
Browse files
Fix include in coding docs
  • Loading branch information
nyalldawson committed Feb 18, 2015
1 parent 854c0b8 commit b45d3843cfc9f7c487325646138c5a9fa7e496d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 CODING
@@ -1059,7 +1059,7 @@ With all the unit test functions implemented, there one final thing we need to
add to our test class:

#include "moc_testqgsrasterlayer.cxx"
#include "testqgsrasterlayer.moc"

The purpose of these two lines is to signal to Qt's moc that his is a QtTest
(it will generate a main method that in turn calls each test funtion. The last

0 comments on commit b45d384

Please sign in to comment.