Hi,there is one more incompatibility with Qt5 in the QTime class. A QTime object must be initialized before using it, else it will be invalid.
So current source code will not display track length if compiled with Qt5. I made a small patch fixing this. Regards Thomas
>From 554363f46ea51e36694765429271ebb1566cd9a3 Mon Sep 17 00:00:00 2001 From: Thomas Arp <manner.moe@gmx.de> Date: Sun, 15 Dec 2013 22:03:39 +0100 Subject: [PATCH] for Qt5 support: QTime object must be initialized, else it will be invalid and not usable --- qhimdtransfer/qhimdmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qhimdtransfer/qhimdmodel.cpp b/qhimdtransfer/qhimdmodel.cpp index 9d8f4ed..d0d303d 100644 --- a/qhimdtransfer/qhimdmodel.cpp +++ b/qhimdtransfer/qhimdmodel.cpp @@ -64,11 +64,11 @@ QString QHiMDTrack::codecname() const QTime QHiMDTrack::duration() const { - QTime t; + QTime t(0,0,0); if(trackslot != 0) return t.addSecs(ti.seconds); else - return t; + return QTime(); } bool QHiMDTrack::copyprotected() const -- 1.8.4.msysgit.0