Announcement

Collapse
No announcement yet.

Password Creator

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Password Creator

    I just tried to install Password Creator v.1.1.2(http://www.kde-apps.org/content/show.php?content=16690)  on Dapper. I extracted and changed directories and typed the following commands as was instructed in the INSTALL file. The first two or three commands involving qmake work, but the 'make' command starts spitting errors. Here is the entire transcript from the Console:

    Code:
    shadowgate@Kubuntu:~/dls/passwordcreator$ qmake -o Makefile passwordcreator.pro
    shadowgate@Kubuntu:~/dls/passwordcreator$ qmake -o src/Makefile src/src.pro
    shadowgate@Kubuntu:~/dls/passwordcreator$ make
    cd src && make -f Makefile
    make[1]: Entering directory `/home/shadowgate/dls/passwordcreator/src'
    g++ -c -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/share/qt3/include -o main.o main.cpp
    main.cpp:21:26: error: qapplication.h: No such file or directory
    In file included from passwordcreator.h:26,
                     from main.cpp:22:
    passwordcreatorform.h:13:22: error: qvariant.h: No such file or directory
    passwordcreatorform.h:14:21: error: qpixmap.h: No such file or directory
    passwordcreatorform.h:15:25: error: qmainwindow.h: No such file or directory
    passwordcreatorform.h:37: error: expected class-name before ‘{’ token
    passwordcreatorform.h:38: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
    passwordcreatorform.h:40: error: expected ‘;’ before ‘public’
    passwordcreatorform.h:68: error: ISO C++ forbids declaration of ‘QMenuBar’ with no type
    passwordcreatorform.h:68: error: expected ‘;’ before ‘*’ token
    passwordcreatorform.h:74: error: expected `:' before ‘slots’
    passwordcreatorform.h:75: error: expected primary-expression before ‘virtual’
    passwordcreatorform.h:75: error: ISO C++ forbids declaration of ‘slots’ with no type
    passwordcreatorform.h:75: error: expected ‘;’ before ‘virtual’
    passwordcreatorform.h:104: error: expected `:' before ‘slots’
    passwordcreatorform.h:105: error: expected primary-expression before ‘virtual’
    passwordcreatorform.h:105: error: ISO C++ forbids declaration of ‘slots’ with no type
    passwordcreatorform.h:105: error: expected ‘;’ before ‘virtual’
    passwordcreatorform.h:108: error: ‘QPixmap’ does not name a type
    passwordcreatorform.h:109: error: ‘QPixmap’ does not name a type
    passwordcreatorform.h:110: error: ‘QPixmap’ does not name a type
    passwordcreatorform.h:111: error: ‘QPixmap’ does not name a type
    passwordcreatorform.h:112: error: ‘QPixmap’ does not name a type
    passwordcreatorform.h:113: error: ‘QPixmap’ does not name a type
    passwordcreator.h:28: error: variable ‘const QString VERSION’ has initializer but incomplete type
    passwordcreator.h:29: error: variable ‘const QString numbers’ has initializer but incomplete type
    passwordcreator.h:30: error: variable ‘const QString vowels’ has initializer but incomplete type
    passwordcreator.h:31: error: variable ‘const QString consonants’ has initializer but incomplete type
    passwordcreator.h:32: error: variable ‘const QString characters’ has initializer but incomplete type
    passwordcreator.h:33: error: variable ‘const QString signs’ has initializer but incomplete type
    passwordcreator.h:39: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
    passwordcreator.h:41: error: expected ‘;’ before ‘public’
    passwordcreator.h:45: error: expected `:' before ‘slots’
    passwordcreator.h:46: error: expected primary-expression before ‘virtual’
    passwordcreator.h:46: error: ISO C++ forbids declaration of ‘slots’ with no type
    passwordcreator.h:46: error: expected ‘;’ before ‘virtual’
    passwordcreator.h:56: error: expected `:' before ‘slots’
    passwordcreator.h:57: error: expected primary-expression before ‘virtual’
    passwordcreator.h:57: error: ISO C++ forbids declaration of ‘slots’ with no type
    passwordcreator.h:57: error: expected ‘;’ before ‘virtual’
    passwordcreator.h:60: error: default argument for parameter of type ‘QString’ has type ‘const char [1]’
    passwordcreator.h:60: error: default argument for parameter of type ‘QString’ has type ‘const char [1]’
    passwordcreator.h:60: error: default argument for parameter of type ‘QString’ has type ‘const char [1]’
    main.cpp: In function ‘int main(int, char**)’:
    main.cpp:26: error: ‘QApplication’ was not declared in this scope
    main.cpp:26: error: expected `;' before ‘app’
    passwordcreator.h: In constructor ‘PasswordCreator::PasswordCreator()’:
    passwordcreatorform.h:42: error: ‘PasswordCreatorForm::~PasswordCreatorForm()’ is private
    passwordcreator.h:38: error: within this context
    main.cpp: In function ‘int main(int, char**)’:
    main.cpp:27: warning: synthesized method ‘PasswordCreator::PasswordCreator()’ first required here
    main.cpp:29: error: ‘class PasswordCreator’ has no member named ‘show’
    main.cpp:30: error: ‘app’ was not declared in this scope
    main.cpp:30: error: ‘lastWindowClosed’ was not declared in this scope
    main.cpp:30: error: ‘SIGNAL’ was not declared in this scope
    main.cpp:30: error: ‘quit’ was not declared in this scope
    main.cpp:30: error: ‘SLOT’ was not declared in this scope
    main.cpp: At global scope:
    main.cpp:24: warning: unused parameter ‘argc’
    main.cpp:24: warning: unused parameter ‘argv’
    passwordcreator.h:28: warning: ‘VERSION’ defined but not used
    passwordcreator.h:29: warning: ‘numbers’ defined but not used
    passwordcreator.h:32: warning: ‘characters’ defined but not used
    passwordcreator.h:33: warning: ‘signs’ defined but not used
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/home/shadowgate/dls/passwordcreator/src'
    make: *** [sub-src] Error 2
    If anyone has a solution to this problem I'd appreciate it. Thanks in advance,

    UnderScore

    #2
    Re: Password Creator

    You seem to be missing at least one package with qt header files. You definitely need the "libqt3-headers" package. You may also need "libqt3-mt-dev" and others as well. I'd go into Synaptic (or Adept, if you must) and search on libqt3.

    By the way, have you tried the pwgen package?

    Comment


      #3
      Re: Password Creator

      It took me a long time to get back to this post because I was traveling.
      Anyway, your suggestion worked, I was able to install the program with no problems whatsoever.
      Thanks and all the best.

      ~UnderScore

      Comment

      Working...
      X