Add full support to Qt4 in both CMakeLists and source code! config.h is now used
This commit is contained in:
1 parent
f00c91bf43
commit
9b980b1eaf
13 files changed
+58
-39
No files matched your search
@@ -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__
|
||||
Reference in new issue
Block a user