Last night the Qt saves my live Iiiiiiiaaaaa, yaouuuw, now it is more than one night and one day non stop that miXimum is running perfectly, with same fluidity, graphics fast, audio rendering perfect.
Im totally converted to Qt, bye-bye GTK2 and welcome to my new hair (i loose all of it with GTK2).
Now some comments...
Splash screen:For the splash-shaped form, with GTK2 the background must be black and the shape white. In Qt it is opposite.
Done.
Error in running:EListError.with message "Duplicate ID: FFFFFFFFFFFFFF31"
It seems that Qt have some problems with allocating ID.
The cure is to place
Application.ProcessMessages after each "big" procedure.
Done.
Loops:In GTK2 if i want that the loop gives control to graphics:
Procedure loopGTK2();
begin
While "something is true" do
begin
application.processmessage; // give control to graphics
procedure_in_loop();
end;
end;
That do not work well in Qt, of course it release the control to graphics but the procedure inside the loop take to much time to finish.
That solve the problem for Qt:
procedure loopQt();
var
chx : shortint;
begin
chx := 0;
While "something is true" do
begin
inc(chx);
if chx > 40 then begin
application.processmessage; // to let control to graphics
chx := 0;
end;
procedure_in_loop();
end;
end;
Done.
Im very happy, i switch from Delphi to Lazarus because of the Linux version.
I was a little disappointed when i get that problem with graphics after one hour playing.
And, trust me, i have done all what i could do to find the problem in GTK2, i never find it.
Once again, thank to you great Lazarus-pros, Qt is the solution.
Many, many, many thanks
PS: I gonna try miXimum in all the ways to check if no more problems then, of course, i gonna give you the brand new, full functioned, no stop and full speed Qt version of miXimum..
PS: Well seen LuizAmérico