A very confused system
-
I am running a linux desktop and tried installing a program which threw the following error:
@In member function ‘virtual void kt::ScheduleGraphicsItem::mouseMoveEvent(QGraphicsSceneMouseEvent*)’:
error: ‘DragMoveCursor’ is not a member of ‘Qt’@The forum for the program in question said I needed to update QT. qmake says am running 4.6.2 so I went and built 4.7 from source and installed it, but neither the program nor qmake are noting the change. Any idea where I went wrong?
-
Never run into that one. What is the application in question? Did people in that other forum mention which Qt version they are using (newest available is 4.8.2, 4.7 is pretty old now)?
-
Also, are you compiling fresh code from that app's repo, or you have modified something?
-
I am trying to build ktorrent 4.2.1 from source as downloaded from their site. Source was dated 6/13/2012, so I'll give qt 4.8.2 a shot. I'm compiling it now so I'll let you know if that fixes it. I hadn't realized 4.7 was so old.
Thanks for your quick responses!
-
Alright. config/make/installed the qt 4.8.2 source and the only errors on install were a couple of strip commands threw "file format not recognized" errors, but nothing else that I can see. qmake -v still shows 2.6.2 as the version.
I used the source from qt-everywhere-opensource-src-4.8.2 for this. is it possible I should have used a different package? Installing on a system running Ubuntu 10.04 with all KDE dependencies covered as listed on the QT website. I'm pretty sure I'm missing something really basic so don't skip a suggestion because it is "too obvious"...
-
Maybe Ubuntu is still using built-in libraries? You probably compile with terminal - try echoing $QTDIR and $PATH to make sure the newest Qt is being used. Also, when you do qmake -v, make sure that the installation specified in second line of the output is correct.
Oh, and dependencies on web page might be outdated ;)
Otherwise, I'm running out of ideas, so this would better work :D
-
should I try to uninstall the old QT using synaptic perhaps? I had left it, assuming the new install would clear the old. kind of a stupid assumption.
-
I don't know, to be honest. I never had a conflict. Well, almost never, but it was my fault.
You can try, certainly.
-
I don't know what else to try. I'll hold off a day or two to see if anyone else has a better suggestion. Thanks so much for your time and advice.