Hi Dear All, I am writing a program which will read the user's input from lineEdit and convert it to Hexadecimal, but seems the program will crash, and my Fedora 11 starts to collect bugs.


void MainWindow:n_changeMACButton_clicked()
{

QLineEdit *lineEdit = new QLineEdit(this);
QString hex[6]=NULL;
for(int i=0;i<6;i++){
hex]=lineEdit->text();}
}

After i build(sucessful) and run it, the whole program will crash and Fedora will start collecting bugs. Think quite some time but still can not get any clue.......please help