Labels

31/08/2010

Qt commands

Convert QString to int
QString num="123";
int n = num.toInt();

Convert Int to QString
int num = 123;
QString str= QString::number(num);

04/08/2010

VirtualBox does not work after upgrade Ubuntu

Note: Ubuntu users might want to install the dkms package (not available on Debian) to ensure that the VirtualBox host kernel modules (vboxdrv and vboxnetflt) are properly updated if the linux kernel version changes during the next apt-get upgrade.

If you don't install dkms (before a kernel upgrade), you will have to run

 sudo /etc/init.d/vboxdrv setup