Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Narciso

#1
ANOTHER QUESTION: i try to put some breakpoint into some ccp files but it seems not work...

1) in Qt creator i open src.pro
2) i put some breckpoint at 279,280,281 lines of generate.cpp
3) i click on Debug ( not run)
4) the program Fet works
5) i open a file like base_210_23.fet
6) i click on generatepush button, but fet dont stop itself.

what is wrong?

If is it possible i wish give you an idea: why dont implement a Printing timetable like this:

          lunedi                 martedì                  mercoledì                    giovedì                   venerdì
          1  2    3   4   5    1   2   3   4  5         1   2   3   4   5             1   2   3   4   5        1   2  3  4   5
_____________________________________________________________________________________
prof1  1a 2a 3a 1b 1c   1a 2a 3a 1b 1c        1a 2a 3a 1b 1c             1a 2a 3a 1b 1c       1a 2a 3a 1b 1c
prof2  2a 1a 3a 1c 3a   2a 1a 3a 1c 3a        2a 1a 3a 1c 3a             2a 1a 3a 1c 3a       2a 1a 3a 1c 3a
prof3  3b 3b 1c     2a   3b 3b 1c     2a        3b 3b 1c     2a              3b 3b 1c     2a        3b 3b 1c     2a

and so on prof by prof?
#2
Now it works, tank you a lot
#3
Also  the last your hint non work.

To avoid misandertanding, now i try to repeat what i wish: i wish run Fet into Qt Creator Ide for see step by step his working mode.

to do this i do:

1) launch Qt creator
2) open Fet.pro in the Ide
3) compile and build Project.
4) click on Run button ( green button like an Arrow)

at this point I imagine that Fet begin to run..... but this not happen .... it appears the black sistem window that you can see on my screenshot.

So it is impossible for me follow step by step working mode of Fet.

Its the last attemp to explain . For me is unusual to write in english , pheraphs i dont am able to do it.


#4
i tink that i cannot explain me.

Look at picture 2,3 attacched.
#5
I try now a better explanation: i wish run e debug fet by qt Creator working step by step... but if i try to run , it shows the sistem window attached.
it seems that can work only about a command line.

#6
i solved compilation and buildin with total commander solution.

But.. i Believe that fet should works after simple build and run... but its open a sistem Windows with a series of hints... it semms that should run only in a command line mode. ITs true?
#7
:-1: error: No rule to make target 'interface/modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.ui', needed by '../tmp/gui/ui_modifyconstraintactivitiesmaxsimultaneousinselectedtimeslotsform_template.h'.  Stop.

its strange because the files are in scr directory.

CAn you help me?
#8
Italian / Italiano / istallazione qt
November 28, 2016, 10:12:19 AM
non riesco ad installare qt creator 5.6.2 e mingw per compilare fet.
Se qualcuno ci è riuscito e mi vuol dare una mano gliene sarei grato .
sistema: w10 64 bit, mingw64
#9
Hi,
i tried to compile fet in qt but i didnt solve it... now i'm trying to build some with LAzarus in delphi following your algoritm explnanation.

I can build now a timetable very fast but there are some problem about minimun and maximum gap between daily Teachers slot.

Timetable is build keeping  one lesson at time, so that lesson could be placed ( for example) on Monday or saturday or wensday and so on..

I cannot test each time if a teacher has too much slot without lesson (max gap) or too less (min gap) , because it is possible that next lesson could fill theese slot.

CAn you help me explaining what method is used by you to control min and max gap in a day and in a week?

Actually i'm thinking about move random slot after timetable solution is done:

while mingap<teacher.mingap and maxgap>teacher.maxgap
do begin
swap(t_1,t_1.compatible);
mingap:=countmingap;
maxgap:=countmaxgap;

  end;

what do you think about it?

Tank you for you time
#10
Programming Help / Fet And Eclipse
September 28, 2016, 10:47:40 AM
Is It possible import Fet Code in Eclipse Neon with mingw?

If it is, how i can do it?