Qt version issue

View: New views
4 Messages — Rating Filter:   Alert me  

Qt version issue

by Julie S :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Dear Rg Team,

I just received this error when using make on Thorn rev. 10462:
g++  -c -g -O2 -DNDEBUG -DBUILD_RELEASE -DNO_TIMING -g0 -O2 -Wall -DHAVE_LIRC -DHAVE_LIBJACK -DHAVE_ALSA -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/usr/include/qt4 -DQT3_SUPPORT -I/usr/include/alsa -DLITTLE_ENDIAN=1 -D'VERSION="09.10"' -D'CODENAME="Thorn"' -Isrc -D'BUILDKEY="6ba088ba97"' src/document/RosegardenDocument.cpp -o src/document/RosegardenDocument.o
In file included from src/document/RosegardenDocument.cpp:3000:
src/document/RosegardenDocument.moc:14:2: error: #error "This file was generated using the moc from 4.4.3. It"
src/document/RosegardenDocument.moc:15:2: error: #error "cannot be used with the include files from this version of Qt."
src/document/RosegardenDocument.moc:16:2: error: #error "(The moc has changed too much.)"
src/document/RosegardenDocument.cpp: In member function ‘void Rosegarden::RosegardenDocument::syncDevices()’:
src/document/RosegardenDocument.cpp:2348: warning: unused variable ‘timeout’
make: *** [src/document/RosegardenDocument.o] Error 1


Do I need to regenerate the moc files or role back my Qt version number?  9.04 shipped with 4.5.0, I believe.

Maybe there is a different way to resolve this?  Thoen complied a couple days ago on my system, but I just let it do some updates, so who knows what is going on.

I see that RosegardenDocument.cpp was updated on my latest svn co of trunk.

Any thoughts would be appreciated.

Sincerely,
Julie S.



     

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Parent Message unknown Re: Qt version issue

by Julie S :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I wrote:
> Do I need to regenerate the moc files or role back my Qt
> version number?  9.04 shipped with 4.5.0, I believe.

I meant that as Ubuntu 9.04 shipped with Qt 4.5.0.

Sorry.

Sincerely,
Julie S.



     

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Re: Qt version issue

by D. Michael McIntyre-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 02 July 2009, Julie S wrote:
> I meant that as Ubuntu 9.04 shipped with Qt 4.5.0.

Just make clean, or try the new make distclean target.  You probably just need
to clean up all the existing .moc files and re-generate them with the new
moc.

Building with 4.5.0 is definitely not a problem.

Which reminds me that I never did help you with your issues building Classic,
did I?  It looked like a weirdly broken installation that you could probably
fix most easily by installing the source built Rosegarden to /usr and
overwriting files from the package built version.  (Not a great idea, I
admit, but I've been doing that for many years, and it works.)
--
D. Michael McIntyre

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Parent Message unknown Re: Qt version issue

by Julie S :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Dear Michael,

I just did  make distclean, then reran bootstrap.sh, ./configure, now make is in progress.  That did the trick.  Thank you.

You wrote:
> Which reminds me that I never did help you with your issues
> building Classic,
> did I?  It looked like a weirdly broken installation

I got it going.  I don't know what the deal was.  I typically just build over the distro's package as well.  Yes, that was definitely weird.

Sincerely,
Julie S.



     

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
Rosegarden-devel@... - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel