Black_Moon
December 26th, 2009, 01:43 PM
Code::Blocks & QT.
installed C::B
sudo apt-get install codeblocks
All works but without QT UI support (UI made by QtDesigner).
Tryed to add QtWorkbench plugin to C::B using http://code.google.com/p/qtworkbench/wiki/PluginInstallation
1. svn checkout svn://svn.berlios.de/codeblocks/trunk codeblocks
2. cd codeblocks/
3. wget http://qtworkbench.googlecode.com/files/QtWorkbench-src-0.5.1.tar.gz
4. tar zxf QtWorkbench-src-0.5.1.tar.gz
5. patch --unified --strip=0 --forward --input=qtworkbench.patch
6. ./bootstrap
7. ./configure --prefix=/opt/codeblocks-svn --with-contrib-plugins=qtworkbench
8. make
9. sudo make install
10. /opt/codeblocks-svn/bin/codeblocks
on p 5 errors apper
romeo@Romeo:~/codeblocks$ patch --unified --strip=0 --forward --input=qtworkbench.patch
patching file configure.in
Hunk #1 FAILED at 341.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej
patching file src/plugins/contrib/Makefile.am
Hunk #1 FAILED at 54.
Hunk #2 FAILED at 71.
Hunk #3 FAILED at 88.
3 out of 3 hunks FAILED -- saving rejects to file src/plugins/contrib/Makefile.am.rej
patching file acinclude.m4
Hunk #1 FAILED at 220.
Hunk #2 FAILED at 238.
Hunk #3 FAILED at 253.
Hunk #4 succeeded at 216 with fuzz 2 (offset -89 lines).
Hunk #5 FAILED at 242.
4 out of 5 hunks FAILED -- saving rejects to file acinclude.m4.rej
romeo@Romeo:~/codeblocks$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:7: installing `./config.guess'
configure.in:7: installing `./config.sub'
configure.in:9: installing `./install-sh'
configure.in:9: installing `./missing'
src/base/tinyxml/Makefile.am: installing `./depcomp'
romeo@Romeo:~/codeblocks$ make
make: *** Не заданы цели и не найден make-файл. Останов.
romeo@Romeo:~/codeblocks$ sudo make install
make: *** Нет правила для сборки цели `install'. Останов.
romeo@Romeo:~/codeblocks$ /opt/codeblocks-svn/bin/codeblocks
bash: /opt/codeblocks-svn/bin/codeblocks: No such file or directory
Where's mistake? How C::B works with QtWorkBench, Qt UI (made in QtDesigner)?
Thanks.
installed C::B
sudo apt-get install codeblocks
All works but without QT UI support (UI made by QtDesigner).
Tryed to add QtWorkbench plugin to C::B using http://code.google.com/p/qtworkbench/wiki/PluginInstallation
1. svn checkout svn://svn.berlios.de/codeblocks/trunk codeblocks
2. cd codeblocks/
3. wget http://qtworkbench.googlecode.com/files/QtWorkbench-src-0.5.1.tar.gz
4. tar zxf QtWorkbench-src-0.5.1.tar.gz
5. patch --unified --strip=0 --forward --input=qtworkbench.patch
6. ./bootstrap
7. ./configure --prefix=/opt/codeblocks-svn --with-contrib-plugins=qtworkbench
8. make
9. sudo make install
10. /opt/codeblocks-svn/bin/codeblocks
on p 5 errors apper
romeo@Romeo:~/codeblocks$ patch --unified --strip=0 --forward --input=qtworkbench.patch
patching file configure.in
Hunk #1 FAILED at 341.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej
patching file src/plugins/contrib/Makefile.am
Hunk #1 FAILED at 54.
Hunk #2 FAILED at 71.
Hunk #3 FAILED at 88.
3 out of 3 hunks FAILED -- saving rejects to file src/plugins/contrib/Makefile.am.rej
patching file acinclude.m4
Hunk #1 FAILED at 220.
Hunk #2 FAILED at 238.
Hunk #3 FAILED at 253.
Hunk #4 succeeded at 216 with fuzz 2 (offset -89 lines).
Hunk #5 FAILED at 242.
4 out of 5 hunks FAILED -- saving rejects to file acinclude.m4.rej
romeo@Romeo:~/codeblocks$ ./bootstrap
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltoptions.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: `/usr/share/aclocal/ltsugar.m4'
libtoolize: `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.in:7: installing `./config.guess'
configure.in:7: installing `./config.sub'
configure.in:9: installing `./install-sh'
configure.in:9: installing `./missing'
src/base/tinyxml/Makefile.am: installing `./depcomp'
romeo@Romeo:~/codeblocks$ make
make: *** Не заданы цели и не найден make-файл. Останов.
romeo@Romeo:~/codeblocks$ sudo make install
make: *** Нет правила для сборки цели `install'. Останов.
romeo@Romeo:~/codeblocks$ /opt/codeblocks-svn/bin/codeblocks
bash: /opt/codeblocks-svn/bin/codeblocks: No such file or directory
Where's mistake? How C::B works with QtWorkBench, Qt UI (made in QtDesigner)?
Thanks.