Skip to content

Commit

Permalink
fix build problems for maemo
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Apr 18, 2014
1 parent 0f370ef commit 6f4bbf7
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/VideoDecoderCUDA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
******************************************************************************/

#include <QtAV/VideoDecoder.h>
#include "private/VideoDecoder_p.h"
#include "QtAV/private/VideoDecoder_p.h"
#include <QtAV/QtAV_Compat.h>
#include <QtAV/BlockingQueue.h>
#include "prepost.h"
#include "QtAV/prepost.h"
#include <QtCore/QQueue>
#if QTAV_HAVE(DLLAPI_CUDA)
#include "dllapi.h"
Expand Down
4 changes: 2 additions & 2 deletions src/cuda/dllapi/nv_inc.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ namespace cuda {
//extern "C" {
#endif /* __cplusplus */

#include <cuda.h>
#include <nvcuvid.h>
#include "cuda.h"
#include "nvcuvid.h"

#if defined(__cplusplus)
//}
Expand Down
2 changes: 2 additions & 0 deletions src/libQtAV.pri
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ unix {
}
}

*maemo*: QMAKE_LFLAGS += -lasound

unset(LIB_VERSION)
unset(PROJECT_SRCPATH)
unset(PROJECT_LIBDIR)
Expand Down
9 changes: 3 additions & 6 deletions tests/decoder/decoder.pro
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
QT += core
QT -= gui

CONFIG += console
CONFIG -= app_bundle

QT += opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG -= app_bundle
TEMPLATE = app
TARGET = decoder

Expand Down
1 change: 1 addition & 0 deletions tests/decoder/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <QCoreApplication>
#include <QtCore/QElapsedTimer>
#include <QtCore/QStringList>
#include <QtAV/AVDemuxer.h>
#include <QtAV/VideoDecoder.h>
#include <QtAV/Packet.h>
Expand Down
1 change: 1 addition & 0 deletions tests/tests.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
TEMPLATE = subdirs

SUBDIRS += \
decoder \
qiodevice \
playerthread

0 comments on commit 6f4bbf7

Please sign in to comment.