Menu

configure of plptools 0.11 can't find QT

Help
2002-08-31
2003-02-05
  • Robin Roevens

    Robin Roevens - 2002-08-31

    I am using slackware 8.1 with QT 3.0.3 and KDE 3.0.1.
    When running configure of plptools 0.11 I get this message:

    checking for Qt... configure: error: Qt (>= 19991109) (libraries) not found. Please check your installation!

    In the config.log I find this error:

    configure: failed program was:
    #include "confdefs.h"
    #include <qglobal.h>
    #include <qapplication.h>
    #include <qapp.h>
    #include <qobjcoll.h>
    #include <qstyle.h>
    #include <qiconview.h>
    #if ! (QT_VERSION >= 200)
    #error 1
    #endif

    int main() {
    QStringList *t = new QStringList();
    QIconView iv(0);
    iv.setWordWrapIconText(false);
    return 0;
    }

    But I should not know what is wrong with my installation, since I recently compiled licq 1.2.0 using QT and confure succesfully found my QT libraries..

    Can anyone help me out?

     
    • Lyall Pearce

      Lyall Pearce - 2002-10-01

      FYI
      I am using Mandrake 9 and have the same problem.
      I did not bother building the KDE component and once I bypassed a compile problem with in PsionTime(), got the daemons working (I think, I am still trying to get IrDA working)

       
    • cezar

      cezar - 2002-11-09

      on plprools forum you wrote:
      >I did not bother building the KDE component and once I
      >bypassed a compile problem with in PsionTime()

      could you please help me how did you do that?

      i've also had a problem with finding qt, but it has been solved when i compiled qt 3.1 and used --whit-qt-dir= option

      tia
      cez2002

      ps. this is the problem:

      ake[1]: Wchodz? katalog `/home/cezar/Documents/plptools-0.11/lib'
      /bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl    -D_REENTRANT -O2  -g -O2 -c psitime.cc
      rm -f .libs/psitime.lo
      g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -D_REENTRANT -O2 -g -O2 -c psitime.cc  -fPIC -DPIC -o .libs/psitime.lo
      In file included from /usr/include/c++/3.2/backward/ostream.h:31,
                       from psitime.h:44,
                       from psitime.cc:23:
      /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
      psitime.cc:66: default argument given for parameter 2 of `PsiTime::PsiTime(timeval* = 0, timezone* = 0)'
      psitime.h:145: after previous specification in `PsiTime::PsiTime(timeval*, timezone* = 0)'
      make[1]: *** [psitime.lo] B??d 1
      make[1]: Opuszczam katalog `/home/cezar/Documents/plptools-0.11/lib'
      make: *** [all-recursive] B??d 1

       
    • Robin Roevens

      Robin Roevens - 2002-11-19

      Solution:

      Quick and dirty hack:

      This worked for me..

      Edit configure with your favourite text-editor
      search for -lqt and replace with -lqt-mt
      run configure again (with --enable-kde)

       
    • Roberto Innocenti

      For solve the PsionTime()  edit psitime.h and delete de default value =0L

       
    • Roberto Innocenti

      For me after the problem is this...

      Some one know the solution?

      Someone it's able to compile really on Mandrake 9.0?
      Can give us all the steps?

      Thanks again

      Leaving directory `/usr/src/RPM/BUILD/plptools-0.11/kde2/kioslave'
      Making all in plugins
      make[2]: Entering directory `/usr/src/RPM/BUILD/plptools-0.11/kde2/plugins'
      ./plpprops.h -o plpprops.moc
      ./plpprops.h: line 1: /*-*-c++-*-: No such file or directory
      ./plpprops.h: line 2: ./Makefile: Permission denied
      ./plpprops.h: line 3: ./Makefile: Permission denied
      ./plpprops.h: line 4: ./Makefile: Permission denied
      ./plpprops.h: line 5: ./Makefile: Permission denied
      ./plpprops.h: line 6: syntax error near unexpected token `('
      ./plpprops.h: line 6: ` *  Copyright (C) 1999  Philip Proudman <philip.proudman@btinternet.com>'
      make[2]: *** [plpprops.moc] Error 2
      make[2]: Leaving directory `/usr/src/RPM/BUILD/plptools-0.11/kde2/plugins'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/usr/src/RPM/BUILD/plptools-0.11/kde2'
      make: *** [all-recursive] Error 1

       

Log in to post a comment.