|
Prerequisites
What do you need to compile and run VisualNetkit
The tool should compile successfully if you have a standard Linux build environment. Support for other environments (e.g., BSD, potentially Windows) is not far from being achieved, but not currently provided. Remember that NetKit actually works only on GNU/Linux The only requirement is to have a version of the Qt development files that is at least as recent as 4.4. Please, visit http://www.trolltech.com to obtain the last version of Qt. |
Sign in to add a comment
i`m install on my Debian libqt4-dev (ua)
(instaled)
but visual-netkit not compiling:
../../plugin_framework/PluginProxy.h:53: error: expected ‘;’ before ‘*’ token ../../plugin_framework/PluginProxy.h:55: error: ‘qint32’ has not been declared ../../plugin_framework/PluginProxy.h:56: error: ‘qint32’ does not name a type ../../plugin_framework/PluginProxy.h:57: error: ‘QString’ has not been declared ../../plugin_framework/PluginProxy.h:59: error: ‘QString’ has not been declared ../../plugin_framework/PluginProxy.h:62: error: expected primary-expression before ‘void’ ../../plugin_framework/PluginProxy.h:62: error: ISO C++ forbids declaration of ‘signals’ with no type ../../plugin_framework/PluginProxy.h:62: error: expected ‘;’ before ‘void’ ../../plugin_framework/PluginProxy.h:63: error: ‘QString’ has not been declared ../../plugin_framework/PluginProxy.h:63: error: ‘QString’ has not been declared ../../plugin_framework/PluginProxy.h:64: error: ‘QString’ has not been declared ../../plugin_framework/PluginProxy.h:64: error: ‘QString’ has not been declared ../../plugin_framework/PluginProxy.h:48: error: ‘NULL’ was not declared in this scope ../../plugin_framework/PluginProxy.h: In member function ‘void PluginProxy::setPluginInterface(PluginInterface*)’: ../../plugin_framework/PluginProxy.h:52: error: ‘pluginInterface’ was not declared in this scope ../../plugin_framework/PluginProxy.h: In member function ‘PluginInterface* PluginProxy::getPlugin()’: ../../plugin_framework/PluginProxy.h:54: error: ‘pluginInterface’ was not declared in this scope ../../plugin_framework/PluginProxy.h: In member function ‘bool PluginProxy::initPlugin(int)’: ../../plugin_framework/PluginProxy.h:59: error: ‘pluginInterface’ was not declared in this scope ../../plugin_framework/PluginRegistry.h: At global scope: ../../plugin_framework/PluginRegistry.h:47: error: ISO C++ forbids declaration of ‘QMap’ with no type ../../plugin_framework/PluginRegistry.h:47: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:49: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:49: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:52: error: ISO C++ forbids declaration of ‘QMap’ with no type ../../plugin_framework/PluginRegistry.h:52: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:53: error: ISO C++ forbids declaration of ‘QMap’ with no type ../../plugin_framework/PluginRegistry.h:53: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:54: error: ISO C++ forbids declaration of ‘QMap’ with no type ../../plugin_framework/PluginRegistry.h:54: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:63: error: expected ‘;’ before ‘(’ token ../../plugin_framework/PluginRegistry.h:65: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:65: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:66: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:66: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:67: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:67: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:68: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:68: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:69: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:69: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:70: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:70: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:72: error: ISO C++ forbids declaration of ‘QObject’ with no type ../../plugin_framework/PluginRegistry.h:72: error: expected ‘;’ before ‘*’ token ../../plugin_framework/PluginRegistry.h:73: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:73: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:74: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:74: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:76: error: ISO C++ forbids declaration of ‘QList’ with no type ../../plugin_framework/PluginRegistry.h:76: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:77: error: ISO C++ forbids declaration of ‘QSet’ with no type ../../plugin_framework/PluginRegistry.h:77: error: expected ‘;’ before ‘<’ token ../../plugin_framework/PluginRegistry.h:79: error: ‘QString’ has not been declared ../../plugin_framework/PluginRegistry.h: In member function ‘void PluginRegistry::addPluginPath(int)’: ../../plugin_framework/PluginRegistry.h:79: error: ‘pluginPaths’ was not declared in this scope ../../plugin_framework/PluginRegistry.h:79: error: ‘QDir’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp: In constructor ‘PluginProxy::PluginProxy(PluginRegistry*)’: ../../plugin_framework/PluginProxy.cpp:26: error: class ‘PluginProxy’ does not have any field named ‘QObject’ ../../plugin_framework/PluginProxy.cpp: At global scope: ../../plugin_framework/PluginProxy.cpp:45: error: variable or field ‘changeGraphicsLabel’ declared void ../../plugin_framework/PluginProxy.cpp:45: error: ‘int PluginProxy::changeGraphicsLabel’ is not a static member of ‘class PluginProxy’ ../../plugin_framework/PluginProxy.cpp:45: error: ‘QString’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:46: error: expected ‘,’ or ‘;’ before ‘{’ token ../../plugin_framework/PluginProxy.cpp: In member function ‘void PluginProxy::showDefaultGraphicsLabel()’: ../../plugin_framework/PluginProxy.cpp:80: error: ‘QString’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:80: error: expected `;' before ‘label’ ../../plugin_framework/PluginProxy.cpp:81: error: ‘label’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp: At global scope: ../../plugin_framework/PluginProxy.cpp:90: error: expected constructor, destructor, or type conversion before ‘<’ token ../../plugin_framework/PluginProxy.cpp:98: error: expected constructor, destructor, or type conversion before ‘<’ token ../../plugin_framework/PluginProxy.cpp:106: error: expected constructor, destructor, or type conversion before ‘*’ token ../../plugin_framework/PluginProxy.cpp:114: error: expected constructor, destructor, or type conversion before ‘*’ token ../../plugin_framework/PluginProxy.cpp:126: error field ‘setPluginGroupID’ declared void ../../plugin_framework/PluginProxy.cpp:126: error: ‘int PluginProxy::setPluginGroupID’ is not a static member of ‘class PluginProxy’ ../../plugin_framework/PluginProxy.cpp:126: error: ‘qint32’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:127: error: expected ‘,’ or ‘;’ before ‘{’ token ../../plugin_framework/PluginProxy.cpp:135: error: ‘qint32’ does not name a type ../../plugin_framework/PluginProxy.cpp:143: error: ‘bool PluginProxy::saveProperty’ is not a static member of ‘class PluginProxy’ ../../plugin_framework/PluginProxy.cpp:143: error: ‘QString’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:143: error: ‘QString’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:143: error: ‘QString’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:143: error: ‘pluginAlertMsg’ was not declared in this scope ../../plugin_framework/PluginProxy.cpp:143: error: initializer expression list treated as compound expression ../../plugin_framework/PluginProxy.cpp:144: error: expected ‘,’ or ‘;’ before ‘{’ token make: *** [build/obj/PluginBashRc.o] Помилка 1 make: *** Очікування завершення завдань... make: *** [build/obj/PluginProxy.o] Помилка 1How fix ?
Please, post the output of this command: qmake --version And read comments in CompileANDRun wiki page!
currently your includes points to Qt3 :| -I/usr/include/qt3 http://code.google.com/p/visual-netkit/wiki/CompileANDRun
Hi,
I hope to release the DVD-live on September,
Awesome! :)
Hey guys,
I'm presently trying to install visual netkit but I got this error when building Visual netkit packet:
Dans le fichier inclus à partir de src/gui/AboutDialog.h:23, à partir de src/gui/AboutDialog.cpp:19: build/ui/ui_about.h:25:28: erreur: qplaintextedit.h : Aucun fichier ou dossier de ce type In file included from src/gui/AboutDialog.h:23, from src/gui/AboutDialog.cpp:19: build/ui/ui_about.h:42: attention : ISO C++ forbids declaration of «QPlainTextEdit» with no type build/ui/ui_about.h:42: erreur: expected «;» before «*» token build/ui/ui_about.h: In member function «void Ui_aboutDialog::setupUi(QDialog*)»: build/ui/ui_about.h:104: erreur: «plainTextEdit» was not declared in this scope build/ui/ui_about.h:104: erreur: expected type-specifier before «QPlainTextEdit» build/ui/ui_about.h:104: erreur: expected `;' before «QPlainTextEdit» build/ui/ui_about.h: In member function «void Ui_aboutDialog::retranslateUi(QDialog*)»: build/ui/ui_about.h:173: erreur: «plainTextEdit» was not declared in this scope make: *** [build/obj/AboutDialog.o] Erreur 1 make: *** Attente des tâches non terminées....I have installed the last qt version and my qmake points to qt-4. My system is present running in an ubuntu 8..4 version. If you have any idea, do not hesitate !
Nicolas
Nicolas are you using Qt-4.5?? VisualNetkit? is not allready tested on the last version of Qt. You can try to use Qt 4.4 or the static compiled version!
Type a qmake --version please.
Oops, I'm using Qt version 4.3.4 and I come to it now ... It is the last version approved bu the ubuntu community. So, I'm going to install the 4.4.3 version I've just found on the trolltech website. I'll keep you informed. Thx for the tip.
yes, Qt 4.4.x is required and tested! When i found some free time i try to test successfully visualnetkit with Qt-4.5!
Well, I'm gonna pass for a newbie but I do not succeed in the version update of QT from 4.3 to 4.4. After, the installation it still tells me (qmake -v) that i use the very same version than before ! Any idea ?
nicolas you can always use the full path to target the qmake binary file.
For example, you can open the file build.sh with a text editor (if you are using it to build visualnetkit) and change the full path inside the variable
QMAKE="/wher/is/qt4.4/bin/qmake"
instead of "qmake".