![]() Registered Member ![]()
|
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 |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
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. |
![]() Registered Member ![]()
|
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. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
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. |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]