QFSM?

Thierry Poidras Thierry.Poidras at dstu.univ-montp2.fr
Tue Apr 27 17:50:28 CEST 2004


Thank you very much Ralf, the flags were not setup properly.
Thierry
----- Original Message ----- 
From: "Ralf Habacker" <ralf.habacker at freenet.de>
To: "For developers interested in porting KDE to Windows using Cygwin"
<kde-cygwin at kde.org>
Sent: Tuesday, April 27, 2004 4:50 PM
Subject: Re: QFSM?


> On Tuesday 27 April 2004 10:30, Thierry Poidras wrote:
> > Hello ,
> > did someone suceed to compile QFSM vith QT3 ?
> > I have a problem with --auto-import.
>
> We can't help you without some hints what you have run.
>
> I've got it running with the following configure line
>
> CXXFLAGS="-fdata-sections"
> LDFLAGS="-Wl,--enable-runtime-pseudo-reloc" ./configure --prefix=/opt/qt
> --with-qt-dir=/opt/qt/3.2
>
> and a replacement of  IOInfoBin::setSize() in src/IOInfoBin.cpp by the
> following code:
>
> void IOInfoBin::setSize(int newin)
> {
>   int oldin = getLength();
>   char *old = new char[oldin+1];
>   int oldcount;
>   char *pin;
>
>   pin = getInfo();
>   for (int i=0; i<=oldin; i++)
>   {
>     old[i] = pin[i];
>   }
>
>   pin = new char[newin+1];
>
>   oldcount = oldin;
>   for(int j=newin-1; j>=0; j--)
>   {
>     if (oldcount>0)
>       pin[j] = old[oldcount-1];
>     else
>       pin[j]=0;
>
>     oldcount--;
>   }
>   pin[newin]=10;
>
>   setInfo(pin);
>
>   delete [] pin;
>   delete [] old;
> }
>
>
> Ralf
>
>
> > QFSM is a graphical tool for designing finite state machines.
> >
> > http://qfsm.sourceforge.net
> >
> > Thank you
> > Thierry
> _______________________________________________
> kde-cygwin mailing list
> kde-cygwin at kde.org
> https://mail.kde.org/mailman/listinfo/kde-cygwin
>



More information about the kde-cygwin mailing list