Add full support to Qt4 in both CMakeLists and source code! config.h is now used

This commit is contained in:
jfmcarreira committed 2014-01-30 21:43:54 +00:00
1 parent f00c91bf43
commit 9b980b1eaf
13 files changed
+58 -39

No files matched your search

+12
View File
@@ -24,6 +24,8 @@
#ifndef __TYPEDEF_H__
#define __TYPEDEF_H__
#include "config.h"
// ====================================================================================================================
// Basic type redefinition
// ====================================================================================================================
@@ -91,4 +93,14 @@ typedef UChar Pel; ///< 8-bit pixel type
#define xFree( ptr ) free ( ptr )
#endif
// ====================================================================================================================
// Qt functions
// ====================================================================================================================
#if( QT_VERSION_PLAYUVER == 4 )
#define QStringLiteral QString::fromUtf8
#endif
#endif // __TYPEDEF_H__