Skip to content
Permalink
Browse files

Fixes to test harness application. Now compiles and runs but doesn't …

…do anything useful yet.

git-svn-id: http://svn.osgeo.org/qgis/trunk@5157 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman
gsherman committed Apr 4, 2006
1 parent d350790 commit e9fc5e82d96b815537160acd5c48f7397b26316b
Showing with 9 additions and 4 deletions.
  1. +6 −3 tests/src/core/Makefile.am
  2. +3 −1 tests/src/core/testqgsapplication.cpp
@@ -11,12 +11,15 @@
bin_PROGRAMS = testqgsapplication


%.moc.cpp: %.cpp
%.moc.cpp: %.h
$(MOC) -o $@ $<

testqgsapplication_MOC = testqgsapplication.moc.cpp
testqgsapplication_SOURCES = $(testqgsapplication_MOC) testqgsapplication.h testqgsapplication.cpp
testqgsapplication_SOURCES = testqgsapplication.cpp

testqgsapplication_LDADD = $(QT_LDADD) $(PG_LIB) $(GDAL_LDADD) -lproj ../../../src/core/libqgis_core.la ../../../src/gui/libqgis_gui.la
testqgsapplication_LDADD = $(QT_LDADD) $(PG_LIB) $(GDAL_LDADD) -lproj ../../../src/core/libqgis_core.la ../../../src/gui/libqgis_gui.la -lQtTest
testqgsapplication_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) -I../../../src/core

BUILT_SOURCES = $(testqgsapplication_MOC)

CLEANFILES = $(BUILT_SOURCES)
@@ -1,4 +1,4 @@
#include <QtTest>
#include <QtTest/QtTest>
#include <qgsapplication.h>
#include "testqgsapplication.h"
#include <QObject>
@@ -10,11 +10,13 @@ TestQgsApplication::TestQgsApplication() : QObject()

}


TestQgsApplication::~TestQgsApplication()
{

}


void TestQgsApplication::authorsFilePath()
{
QString myPath = QgsApplication::authorsFilePath();

0 comments on commit e9fc5e8

Please sign in to comment.
You can’t perform that action at this time.