i have now done the following
#include <qprocess.h>
void Form2 :: showimage()
{
proc->addArgument( "eog " );
proc->addArgument("/root/images/dk.jpg");
proc->start();
}
#include <qprocess.h>
void Form2 :: showimage()
{
QProcess* proc = new QProcess( this );
proc->addArgument( "eog " );
proc->addArgument("/root/images/dk.jpg");
proc->start();
}
To copy to clipboard, switch view to plain text mode
// where showimage is a slot connected by pushbutton
i am able to qmake and make also
but when i run
i get the following message
---------------------------------------------------------------------------
linux:~/prac # ./prac
name = latin
name = ipa-x-sampa
name = viqr
name = hangul2
name = hangul3
name = romaja
name = tutcode
name = tcode
name = skk
name = canna
name = anthy
name = py
name = pyunihan
name = pinyin-big5
name = direct
WARNING: please edit ~/.scim/global and change /DefaultConfigModule to kconfig
---------------------------------------------------------------------------
i am not able to find ~/.scim/global in the directories even after an extensive search .
please guide me .
Bookmarks