On Sun, May 11, 2014, at 09:55 AM, Tim Munro wrote:
> By far the ugliest large change involves preserving the remote-url
> capability of the FileSource class.

This class comes originally from Sonic Visualiser. There is a version
updated for Qt5 (using QNetworkAccessManager) in the SV source tree, see
http://code.soundsoftware.ac.uk/projects/svcore/repository/entry/data/fileio/FileSource.h
and .cpp.

The purpose of the class is to provide the same "file handle"
abstraction for files opened locally and URLs opened from remote
locations. It is used in for example RosegardenMainWindow::openURL().

I updated Sonic Visualiser to Qt5 a little while back and it was fairly
straightforward, though Rosegarden would certainly be harder.

I just counted five #ifdefs against Qt version 5 or higher in the SV
code -- with these it has continued to work fine with Qt4, and I no
longer pay much attention to whether I'm building against Qt4 or Qt5 on
any given machine as it doesn't seem to make much difference.


Chris

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@lists.sourceforge.net - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to