Core tests instantiate QCoreApplication instead of QApplication.

This way they can be used without a running X server.
This commit is contained in:
Felix Geyer
2012-01-01 22:04:27 +01:00
parent 17d0fb9963
commit a61057d7f6
14 changed files with 59 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src)
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src)
add_definitions(-DQT_TEST_LIB)