[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Re: [Sc-devel] Small (minimal) Qt based SC editor..
Florian Schmidt(e)k dio:
On Monday 17 December 2007, Florian Schmidt wrote:
On Monday 17 December 2007, altern wrote:
hi florian
thanks for doing this, sounds interesting.
It uses SCons for the build system so a reasonably recent scons
installation is required to build it (one that supports the qt4
toolkit).
This is a preliminary
alpha/beta/gamma/epsilon/down-charm-quark-release. So expect your
spouse to run amok after running this software and our computer will
try to kill you with electric shocks (at least that's what happened
here. your experience might differ).
i am trying to compile it on my laptop with Ubuntu Feisty Studio. Scons
says i have not Qt-Core > 4.3.0 . I have installed libqt4-core,
libqt4-dev, libqt4-gui but i get the same error. Anything else i might
need? This is the version of scons i am running, maybe too old?
0.96.93
Yeah, i think it's too olde. I use scons 0.97 here.. Since it seems scons
isn't part of most Mac os X installations either i will write a small
makefile..
Will take max 30 min.
http://tapas.affenbande.org/qcollider/qcollider-0.2.tgz
now contains a makefile [and one or two other trivial fixes].. try to see if
that works better for you..
Flo
P.S.: No more updates from me until tonight. I got work to do ;) Playtime is
in the evening :D
using make i get same error i guess, it does not find QT. I installed
latest scons I get this.
$ scons
scons: Reading SConscript files ...
scons: warning: Could not detect qt, using moc executable as a hint
(QTDIR=/usr)
File "/home/r2d2/Desktop/qcollider-0.2/SConstruct", line 16, in ?
Checking for pkg-config... yes
Checking for QtCore >= 4.3.0... no
QtCore >= 4.3.0 not found.
with make i get this
$ make
--- Building object: main.cc => main.o
g++ -c main.cc -pedantic -Wall -Wno-long-long -ansi -Werror
-DPREFIX=\"/usr/loc
al\" -I/usr/share/qt4/include -DQT_THREAD_SUPPORT -pthread
main.cc:1:30: error: QtGui/QApplication: No such file or directory
In file included from main.cc:4:
main_window.h:4:29: error: QtGui/QMainWindow: No such file or directory
main_window.h:5:28: error: QtGui/QTabWidget: No such file or directory
main_window.h:6:27: error: QtGui/QTextEdit: No such file or directory
main_window.h:7:27: error: QtCore/QProcess: No such file or directory
main_window.h:8:29: error: QtGui/QListWidget: No such file or directory
main_window.h:9:29: error: QtGui/QDockWidget: No such file or directory
main_window.h:10:25: error: QtGui/QWidget: No such file or directory
main_window.h:11:27: error: QtGui/QLineEdit: No such file or directory
main_window.h:12:27: error: QtGui/QCheckBox: No such file or directory
log.h:8: error: expected class-name before ‘{’ token
log.h:9: error: ‘Q_OBJECT’ does not name a type
log.h:14: error: expected `)' before ‘*’ token
log.h:16: error: ‘QString’ has not been declared
search_and_replace.h:11: error: expected class-name before ‘{’ token
search_and_replace.h:12: error: ‘Q_OBJECT’ does not name a type
search_and_replace.h:16: error: ‘QString’ does not name a type
search_and_replace.h:17: error: ‘QString’ does not name a type
search_and_replace.h:19: error: ‘QObject’ has not been declared
search_and_replace.h:19: error: ‘QEvent’ has not been declared
search_and_replace.h:22: error: expected `)' before ‘*’ token
search_and_replace.h:25: error: ISO C++ forbids declaration of
‘QLineEdit’ with
no type
search_and_replace.h:25: error: expected ‘;’ before ‘*’ token
search_and_replace.h:27: error: ISO C++ forbids declaration of
‘QCheckBox’ with
no type
search_and_replace.h:27: error: expected ‘;’ before ‘*’ token
search_and_replace.h:28: error: ISO C++ forbids declaration of
‘QCheckBox’ with
no type
search_and_replace.h:28: error: expected ‘;’ before ‘*’ token
search_and_replace.h:29: error: ISO C++ forbids declaration of
‘QCheckBox’ with
no type
search_and_replace.h:29: error: expected ‘;’ before ‘*’ token
search_and_replace.h:32: error: expected `:' before ‘slots’
search_and_replace.h:33: error: expected primary-expression before ‘void’
search_and_replace.h:33: error: ISO C++ forbids declaration of ‘slots’
with no t
ype
search_and_replace.h:33: error: expected ‘;’ before ‘void’
search_and_replace.h:38: error: expected primary-expression before ‘void’
search_and_replace.h:38: error: ISO C++ forbids declaration of ‘signals’
with no
type
search_and_replace.h:38: error: expected ‘;’ before ‘void’
cc1plus: warnings being treated as errors
search_and_replace.h:11: warning: ‘class SearchAndReplace’ has virtual
functions
but non-virtual destructor
main_window.h:19: error: expected class-name before ‘{’ token
main_window.h:20: error: ‘Q_OBJECT’ does not name a type
main_window.h:23: error: ISO C++ forbids declaration of ‘QProcess’ with
no type
main_window.h:23: error: expected ‘;’ before ‘*’ token
main_window.h:31: error: expected `)' before ‘*’ token
main_window.h:36: error: expected `:' before ‘slots’
main_window.h:37: error: expected primary-expression before ‘void’
main_window.h:37: error: ISO C++ forbids declaration of ‘slots’ with no type
main_window.h:37: error: expected ‘;’ before ‘void’
main_window.h:39: error: ‘QString’ has not been declared
main_window.h:52: error: expected ‘,’ or ‘...’ before ‘&’ token
main_window.h:52: error: ISO C++ forbids declaration of ‘QString’ with
no type
main_window.h:53: error: expected ‘,’ or ‘...’ before ‘&’ token
main_window.h:53: error: ISO C++ forbids declaration of ‘QString’ with
no type
main_window.h:71: error: ‘QProcess’ has not been declared
main_window.h:71: error: expected ‘,’ or ‘...’ before ‘error’
main.cc: In function ‘int main(int, char**)’:
main.cc:8: error: ‘QApplication’ was not declared in this scope
main.cc:8: error: ‘qapp’ was not declared in this scope
main.cc:8: error: expected type-specifier before ‘QApplication’
main.cc:8: error: expected `;' before ‘QApplication’
main.cc:10: error: ‘QApplication’ is not a class or namespace
main.cc:11: error: ‘QApplication’ is not a class or namespace
main.cc:12: error: ‘QApplication’ is not a class or namespace
main.cc:16: error: ‘class MainWindow’ has no member named ‘show’
main.cc:20: error: ‘EXIT_SUCCESS’ was not declared in this scope
make: *** [main.o] Error 1