This forum has been archived. All content is frozen. Please use KDE Discuss instead.

3.1.1 won't complete make

Tags: None
(comma "," separated)
rbjscv
Registered Member
Posts
10
Karma
0

3.1.1 won't complete make

Sat Aug 02, 2008 8:27 pm
Hi all,

I'm new this linux (6 weeks old) and I wanted to try ktorrent 3.1.1 as I liked the earlier incarnation. 3.1.1 make was going fine until 67%. Here is my output:

[ 67%] Built target btcore
[ 67%] Built target ktcore
[ 67%] Built target ktupnp
[ 67%] Built target ktlogviewerplugin
[ 67%] Built target ktinfowidgetplugin
[ 67%] Built target ktupnpplugin
[ 67%] Built target ktsearchplugin
[ 67%] Built target ktwebinterfaceplugin
[ 67%] Built target ktscanfolderplugin
[ 67%] Built target ktipfilterplugin
[ 67%] Built target ktstatsplugin
[ 67%] Building CXX object plugins/bwscheduler/CMakeFiles/ktbwschedulerplugin.dir/ktbwschedulerplugin_automoc.o
In file included from /home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/../../../plugins/bwscheduler/bwprefpage.h:25,
from /home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/moc_bwprefpage.cpp:10,
from /home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ktbwschedulerplugin_automoc.cpp:2:
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h:25:25: error: qformlayout.h: No such file or directory
In file included from /home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/../../../plugins/bwscheduler/bwprefpage.h:25,
from /home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/moc_bwprefpage.cpp:10,
from /home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ktbwschedulerplugin_automoc.cpp:2:
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h:33: error: ISO C++ forbids declaration of ‘QFormLayout’ with no type
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h:33: error: expected ‘;’ before ‘*’ token
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h: In member function ‘void Ui_BWPrefPage::setupUi(QWidget*)’:
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h:53: error: ‘formLayout’ was not declared in this scope
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h:53: error: expected type-specifier before ‘QFormLayout’
/home/rbj/Desktop/ktorrent-3.1.1/build/plugins/bwscheduler/ui_bwprefpage.h:53: error: expected `;' before ‘QFormLayout’
make[2]: *** [plugins/bwscheduler/CMakeFiles/ktbwschedulerplugin.dir/ktbwschedulerplugin_automoc.o] Error 1
make[1]: *** [plugins/bwscheduler/CMakeFiles/ktbwschedulerplugin.dir/all] Error 2
make: *** [all] Error 2

Any help would be appreciated. Thank you, rbjscv
agforsyth
Registered Member
Posts
133
Karma
0

Sat Aug 02, 2008 10:32 pm
What happens if you do "locate qformlayout.h"?

What version of KDE do you have? What version of Qt? What distro of linux are you using?
rbjscv
Registered Member
Posts
10
Karma
0

Sat Aug 02, 2008 11:10 pm
phantom042 wrote:What happens if you do "locate qformlayout.h"?

I tried this just as you said (without quotes), as sudo, and checked to see if it was a package that I had loaded - just in case. Nothing showed up in any of these ways. I'm probably missing something simple - that's usually what happens.

What version of KDE do you have? What version of Qt? What distro of linux are you using?


KDE Desktop 4.0
Ubuntu Hardy 8.04
qt3-dev-tools 3.3.3.8.b-0ubuntu-3
qt4-qtconfig 4.3.4-0ubuntu3

I think I got that all right.
agforsyth
Registered Member
Posts
133
Karma
0

Sat Aug 02, 2008 11:52 pm
Ok, I'm also on Ubuntu.

Make sure source repositories are turned on in the System Menu -> Software sources,
then try "sudo apt-get build-dep ktorrent-kde4" to make sure you have everything you need to build ktorrent.

The file you're missing is in the libqt4-dev package.

FYI, "kde4-config --version" will give you your exact KDE and Qt version.
George
Moderator
Posts
5421
Karma
1

Sun Aug 03, 2008 10:57 am
You need Qt 4.4 or later
rbjscv
Registered Member
Posts
10
Karma
0

Sun Aug 03, 2008 1:05 pm
Not trying to be dumb. And I'm honestly working hard at understanding how to compile 3.1.1

I've searched launchpad for QT 4.4 but find nothing. I just don't understand what I'm looking for. Guess I need it spelled exactly.
George
Moderator
Posts
5421
Karma
1

Sun Aug 03, 2008 1:35 pm
rbjscv wrote:Not trying to be dumb. And I'm honestly working hard at understanding how to compile 3.1.1

I've searched launchpad for QT 4.4 but find nothing. I just don't understand what I'm looking for. Guess I need it spelled exactly.


If you install KDE 4.1 you get Qt 4.4 installed automatically. (see kubuntu website for package repository)

Anyway I have gotten rid of QFormLayout, which should result in 3.1.2 to be compilable with Qt 4.3. 3.1.2 will be out in the next few days, so you could also wait for that.
rbjscv
Registered Member
Posts
10
Karma
0

Sun Aug 03, 2008 7:15 pm
Thanks for the heads-up on upgrade. I'll just wait and meanwhile see what other mischief I can find. Just having fun.
rbjscv
Registered Member
Posts
10
Karma
0

Sun Aug 03, 2008 10:07 pm
Solved problem by removing all of KDE4 and then reinstalling thereby upgrading to 4.1.. nothing else worked. Then easily installed ktorrent 3.1.1 with synaptic. Once you said it worked from kde4.1 I was home free. Thank you for the guidance.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]