Registered Member
|
Hi, I am having problems compiling kdenlive from source code, as instructed in the tutorial on the official page. I am getting an error that looks something like this:
/home/alex/Documents/kdenlive_project/kdenlive/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘Q_WS_X11’ undeclared (first use in this function) return ((int*)(&Q_WS_X11))[argc]; This is in the CMakeErrorLog.txt file generated when using the command: $cmake .. -DCMAKE_INSTALL_PREFIX=/usr; I have done some research and it seems there must be something wrong with some missing Qt libraries, but as of today I have been unable to fix it. Can anyone help me? If any more detail is needed I can include it ASAP |
Manager
|
gregramirez - I moved your post to Kdenlive -> Installation (there's a shadow post still in place) as it seems more appropriate
|
Registered Member
|
|
Registered Member
|
Yes, I have just run the command qmake --version, and the output I got is:
QMake version 3.0 Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu Would the correct option be to downgrade to Qt4? Or maybe to use an older, more stable release of the source code? |
Registered Member
|
What O/S and version are you using? You may just need to install some more of QT4 in order to get it to compile. I run Ubuntu 14.04 LTS and have both QT4 and QT5 installed. They can co-exist on a machine if you install 'qtchooser'. |
Registered Member
|
I'm using Kubuntu 14.04, I'm going to install Qt4 right now, maybe that will solve the problem if they can both reside in my system nicely.
I'll let you know of the results! Thanks! |
KDE Developer
|
|
Registered Member
|
Thanks to everyone for the help!
Firtly I have to say I'm very new to this and as much as I'm searching on Google, I can't find a way to install Qt4 while Qt5 is installed on the system. I tried the guide from this link, http://qt-project.org/doc/qt-4.8/install-x11.html, but it didn't work properly. vpinion, would you be so kind as to explain these steps in a little more detail, since I don't quite understand what I have to do. Thank you very much, Greg |
Registered Member
|
Have The Google search for: "installing qt4 qt5"
Here's two hits: http://qt-project.org/forums/viewthread/23011 http://askubuntu.com/questions/349430/compiling-code-that-depends-on-qt4-with-qt5-installed |
KDE Developer
|
as super-user (sudo), edit /etc/apt/sources.list
copy the line looking like:
and edit the duplicate like:
save & quit, then run
On my plain chroot it offers to pull:
better than entering each by hand |
Registered Member
|
Thank you very much guys! I got it working in the end!!
I actually used a bit of both of the last two answers and in the end it compiled perfectly, and I learnt some things in the process too. I'm glad there's people like you to help newbies like me for this kind of things. -Greg Ramirez |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]