Re: LabPLot Port: gsl problem

2015-02-18 Thread Albert Astals Cid
Guys, there's *lots* of people subscribed to kde-devel and *lots* subscribed 
to kde-edu, do we really need to have this email in both list? Can we please 
continue it just in kde-edu?

Cheers,
  Albert

El Dimecres, 18 de febrer de 2015, a les 08:47:04, Garvit Khatri va escriure:
> Hi Alexander,
> 
> I have installed libgsl0-dev, is there any specific package i should
> install?
> 
> Thank you
> 
> Cheers,
> Garvit Khatri
> 
> On Wed, Feb 18, 2015 at 3:05 AM, Alexander Semke 
> 
> wrote:
> > > I am getting error in gs/functions file givven below:
> > > 
> > > /home/garvitdelhi/dev/sok/labplot_port/src/backend/gsl/functions.h:173:
> > > error: 'my_gsl_powint' undeclared here (not in a function)
> > > 
> > >   {"gsl_powint",my_gsl_powint},
> > 
> > Do you have gsl-devel installed on you system?
> > 
> > --
> > Alexander
> > ___
> > kde-edu mailing list
> > kde-...@mail.kde.org
> > https://mail.kde.org/mailman/listinfo/kde-edu


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: LabPLot Port: gsl problem

2015-02-17 Thread Garvit Khatri
Hi Alexander,

I have installed libgsl0-dev, is there any specific package i should
install?

Thank you

Cheers,
Garvit Khatri

On Wed, Feb 18, 2015 at 3:05 AM, Alexander Semke 
wrote:

>
> > I am getting error in gs/functions file givven below:
> >
> > /home/garvitdelhi/dev/sok/labplot_port/src/backend/gsl/functions.h:173:
> > error: 'my_gsl_powint' undeclared here (not in a function)
> >   {"gsl_powint",my_gsl_powint},
>
> Do you have gsl-devel installed on you system?
>
> --
> Alexander
> ___
> kde-edu mailing list
> kde-...@mail.kde.org
> https://mail.kde.org/mailman/listinfo/kde-edu
>

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: LabPLot Port: gsl problem

2015-02-17 Thread Alexander Semke

> I am getting error in gs/functions file givven below:
> 
> /home/garvitdelhi/dev/sok/labplot_port/src/backend/gsl/functions.h:173:
> error: 'my_gsl_powint' undeclared here (not in a function)
>   {"gsl_powint",my_gsl_powint},

Do you have gsl-devel installed on you system?

-- 
Alexander

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


Re: LabPLot POrt

2015-02-16 Thread Aleix Pol
On Mon, Feb 16, 2015 at 2:30 PM, Garvit Khatri  wrote:
> Hi All,
>
> I am porting LabPlot app. I am getting the following error along with Ok,
> Apply, Cancel ans Default not in scope error as well. for that i used
> QDialogButtonBox::Ok. This solved problem for Ok, Apply and Cancel but not
> for Default. Can anyone help me with this.
>
> /home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/SettingsDialog.cpp:54:
> error: 'setButtons' was not declared in this scope
>  setButtons(Ok | Apply | Cancel | Default);
>  ^
>
> /home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/SettingsDialog.cpp:55:
> error: 'setDefaultButton' was not declared in this scope
>  setDefaultButton(Ok);
> ^
>
> /home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/SettingsDialog.cpp:55:
> error: 'setDefaultButton' was not declared in this scope
>  setDefaultButton(Ok);
> ^
>
> Cheers,
> Garvit Khatri
>
>
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe
>>> <<
>

http://doc-snapshot.qt-project.org/qt5-5.4/qdialogbuttonbox.html#StandardButton-enum

For setDefaultButton, you can use setFocus, although QDialogButton box
should use a sane default anyway.

Aleix

PS: http://hackles.org/strips/cartoon2.png I miss hackles <3

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<