FET Forum

Discussions and Chat => Programming and other Technical Help => Topic started by: Hema on December 09, 2010, 02:14:47 PM

Title: About Qt
Post by: Hema on December 09, 2010, 02:14:47 PM
Hi everyone,
I'm using SUSE, I need to download Qt 4.6.3, how I can get it?
Title: Re: About Qt
Post by: Liviu Lalescu on December 09, 2010, 02:30:06 PM
http://software.opensuse.org/search?q=libqt4-devel&baseproject=openSUSE%3A11.3&lang=en&exclude_filter=home%3A&exclude_debug=true

Or:

ftp://ftp.qt.nokia.com/qt/source/

But why don't you use the latest Qt, 4.7.1?

By the way, FET is available for direct installation on openSuse 11.3 (see: http://software.opensuse.org/search?q=fet&baseproject=openSUSE%3A11.3&lang=en&exclude_filter=home%3A&exclude_debug=true ).
Title: Re: About Qt
Post by: Hema on December 09, 2010, 06:18:54 PM
I read "read me file", I confused with some partsĀ  :-[
I've SUSE 11.2

make 3.81
g++ 4.4.1
gcc 4.4.1
Now, I trying to download QT 4.7.1
Is this enough to download FET "command line version"?

Please! give me example for this instruction:

fet --inputfile=x [--outputdir=d] [--timelimitseconds=y] [--htmllevel=z] [--language=t] [--printnotavailable=u] [--printbreak=b]
      [--dividetimeaxisbydays=v] [--printsimultaneousactivities=w] [--randomseedx=rx --randomseedy=ry] [--warnifusingnotperfectconstraints=s]
      [--warnifusingstudentsminhoursdailywithallowemptydays=p]

Thank you so much :)
Title: Re: About Qt
Post by: Liviu Lalescu on December 09, 2010, 11:19:47 PM
QuoteI read "read me file", I confused with some partsĀ  :-[
I've SUSE 11.2

make 3.81
g++ 4.4.1
gcc 4.4.1
Now, I trying to download QT 4.7.1
Is this enough to download FET "command line version"?

Yes, Qt 4.7.1 is OK.

Quote
Please! give me example for this instruction:

fet --inputfile=x [--outputdir=d] [--timelimitseconds=y] [--htmllevel=z] [--language=t] [--printnotavailable=u] [--printbreak=b]
      [--dividetimeaxisbydays=v] [--printsimultaneousactivities=w] [--randomseedx=rx --randomseedy=ry] [--warnifusingnotperfectconstraints=s]
      [--warnifusingstudentsminhoursdailywithallowemptydays=p]

Thank you so much :)

fet --inputfile=data.fet

In braces there are only optional parameters.
Title: Re: About Qt
Post by: Hema on December 09, 2010, 11:28:44 PM
Hello again

I don't know, where is the problem.

elham@linux-9h5t:~> fet --inputfile=Arabic_saudi_1.fet
Settings read
Could not open file - not existing or in use
Cannot read file - aborting
elham@linux-9h5t:~> cd fet-5.14.2
elham@linux-9h5t:~/fet-5.14.2> fet --inputfile=Arabic_saudi_1.fet
Settings read
Invalid fet 3.12.17 or above - trying older version
Cannot read file - aborting
elham@linux-9h5t:~/fet-5.14.2>

Thanks for your cooperation : )
Title: Re: About Qt
Post by: Liviu Lalescu on December 09, 2010, 11:56:02 PM
I think you are using the fet which you installed from openSuse repositories, old 5.9.1. The Arabic sample file is for FET version 5.14.2. When you run fet on sample Arabic, you run the old FET on new sample.

So, do: ./fet --inputfile=data.fet
(notice the ./ before fet, to run the fet executable from the current directory, not the one from /usr/bin/ or /usr/local/bin/)

I advise you to uninstall FET-5.9.1 (using openSuse YaST).
Title: Re: About Qt
Post by: Hema on December 10, 2010, 01:16:48 AM
Now, All and all is good, thank you Liviu for your help and your advice.

Woow, I found html and xml outputs in this directory
/home/hema/fet-5.14.2/timetables

Thanks again :)