[Bacula-users] Cannot compile bat!? Help
2009-07-02 12:53:32
Hi there,
I have read a thread before about compling the bat in CentOS5, in which,
the guy got the following warning during compilation
ui/ui_main.h: In member function a€?void Ui_MainForm::setupUi(QMainWindow*)a€?:
ui/ui_main.h:168: error: a€?class QGridLayouta€? has no member named
a€?setLeftMargina€?
ui/ui_main.h:169: error: a€?class QGridLayouta€? has no member named
a€?setTopMargina€?
ui/ui_main.h:170: error: a€?class QGridLayouta€? has no member named
a€?setRightMargina€?
ui/ui_main.h:171: error: a€?class QGridLayouta€? has no member named
a€?setBottomMargina€?
ui/ui_main.h:172: error: a€?class QGridLayouta€? has no member named
a€?setHorizontalSpacinga€?
ui/ui_main.h:173: error: a€?class QGridLayouta€? has no member named
a€?setVerticalSpacinga€?
ui/ui_main.h:224: error: a€?class QGridLayouta€? has no member named
a€?setLeftMargina€?
ui/ui_main.h:225: error: a€?class QGridLayouta€? has no member named
a€?setTopMargina€?
ui/ui_main.h:226: error: a€?class QGridLayouta€? has no member named
a€?setRightMargina€?
ui/ui_main.h:227: error: a€?class QGridLayouta€? has no member named
a€?setBottomMargina€?
ui/ui_main.h:228: error: a€?class QGridLayouta€? has no member named
a€?setHorizontalSpacinga€?
ui/ui_main.h:229: error: a€?class QGridLayouta€? has no member named
a€?setVerticalSpacinga€?
ui/ui_main.h:255: error: a€?class QGridLayouta€? has no member named
a€?setLeftMargina€?
ui/ui_main.h:256: error: a€?class QGridLayouta€? has no member named
a€?setTopMargina€?
ui/ui_main.h:257: error: a€?class QGridLayouta€? has no member named
a€?setRightMargina€?
ui/ui_main.h:258: error: a€?class QGridLayouta€? has no member named
a€?setBottomMargina€?
ui/ui_main.h:259: error: a€?class QGridLayouta€? has no member named
a€?setHorizontalSpacinga€?
ui/ui_main.h:260: error: a€?class QGridLayouta€? has no member named
a€?setVerticalSpacinga€?
and one person said he solved the problem by update qt to 4.3.x or above.
Well, my current version of qt is 4.2.x and I just download the 4.5.2 at
http://get.qtsoftware.com/qt/source/qt-x11-opensource-src-4.5.2.tar.gz ,
install it to (as default) /usr/local/Trolltech/Qt-4.5.2, I also set the
following enviornments
export QTDIR=/usr/local/Trolltech/Qt-4.5.2
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTINC=$QTDIR/include
export QTLIB=$QTDIR/lib
But when I recompile the bacual with bat enabled, still get the same
errors. How to fix it?
Thanks.
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Bacula-users] What no connection to the server?, (continued)
- Re: [Bacula-users] What no connection to the server?, ginzzer
- [Bacula-users] Must I mail message?, ginzzer
- [Bacula-users] How to set date in schedule ?, ginzzer
- [Bacula-users] backup catalog fail?, ginzzer
- Re: [Bacula-users] backup catalog fail?, John Drescher
- Re: [Bacula-users] backup catalog fail?, Kevin Keane
- Re: [Bacula-users] backup catalog fail?, ginzzer
- Re: [Bacula-users] backup catalog fail?, John Drescher
- Re: [Bacula-users] backup catalog fail?, Reynier Perez Mira
- Re: [Bacula-users] backup catalog fail?, John Drescher
- [Bacula-users] Cannot compile bat!? Help,
ginzzer <=
- Re: [Bacula-users] Cannot compile bat!? Help, Matthias Reif
- Re: [Bacula-users] Cannot compile bat!? Help, ginzzer
- [Bacula-users] how to use a raw disk?, ginzzer
- Re: [Bacula-users] how to use a raw disk?, John Drescher
- Re: [Bacula-users] how to use a raw disk?, Lee Huffman
- Re: [Bacula-users] how to use a raw disk?, ginzzer
- Re: [Bacula-users] how to use a raw disk?, Diego Gallardo
- Re: [Bacula-users] how to use a raw disk?, Lee Huffman
- Re: [Bacula-users] how to use a raw disk?, Diego Gallardo
- Re: [Bacula-users] how to use a raw disk?, John Drescher
|
|
|