Fixed issues with compiling in Qt and dictionary file