Application is crashing; can't understand why
Solved
General and Desktop
-
I am a new QT learner. Currently I am reading The Book of QT4: The Art of Building Qt Applications. I was trying to follow an example from there. The code is compiling successfully. But when I try to run the application it crashes with
Segmentation fault
. Here is the source files:hello.pro
main.cpp
ByteConverterDialog.h
ByteConverterDialog.cpp$ uname -a $ Linux MULTIVAC 3.19.0-56-generic #62~14.04.1-Ubuntu SMP Fri Mar 11 11:03:15 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ qmake -v $ QMake version 3.0
$ qtcreator -version $ Qt Creator 3.0.1 based on Qt 5.2.1
Thanks!
-
Hi and welcome to devnet,
You are not allocating decEdit, hexEdit nor binEdit in your constructor.