On 03/24/2014 07:01 AM, MGV-AV Linux wrote: > Hi, > > I'm the maintainer of AV Linux and have been including LMMS for several > versions now, I was very happy to see the impressive changelog to the new > 1.0.0 release however I've run into a snag with compiling it. AV Linux is > currently still based on Debian 6 (Squeeze) so my guess is this error > relates to my mature QT4 4.6.3 libs, hopefully a major fix is not required > as the compilation gets 97% finished before this error surfaces. > > I have previously successfully compiled and packaged LMMS versions up to > 0.4.15 and in this case the cmake configuration passed with no issues. > Here is the compilation error: > > [ 97%] Building CXX object CMakeFiles/lmms.dir/src/core/MeterModel.o > /media/DATA/Packaging/LMMS/lmms-1.0.0/src/core/timeline.cpp: In member > function ‘virtual void timeLine::mousePressEvent(QMouseEvent*)’: > /media/DATA/Packaging/LMMS/lmms-1.0.0/src/core/timeline.cpp:286:68: error: > ‘MiddleButton’ is not a member of ‘Qt’ > /media/DATA/Packaging/LMMS/lmms-1.0.0/src/core/timeline.cpp:293:72: error: > ‘MiddleButton’ is not a member of ‘Qt’ > [ 97%] Building CXX object CMakeFiles/lmms.dir/src/core/bb_track_container.o > make[2]: *** [CMakeFiles/lmms.dir/src/core/timeline.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [CMakeFiles/lmms.dir/all] Error 2 > make: *** [all] Error 2 > > Any assistance or guidance is appreciated, Congrats on your new release!!
Yeah... I think Qt now acceptes either MiddleButton or MidButton, but in 4.6 it only accepts MidButton, however we're supposed to use MiddleButton because I guess MidButton is going to get deprecated at some point? So this is pretty much a Qt issue... I suppose we could add some kind of #ifdef clause to the code to fix this. Meanwhile, you could manually replace MiddleButton with MidButton... ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ LMMS-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmms-devel
