Sorry Akos, this is more of a question for the qt-interest list. This list is more questions about using qt creator, than using qt. :)
Information on how to subscribe to it can be found over here: http://lists.qt.nokia.com/mailman/listinfo/qt-interest On 12/24/2010 01:20 PM, ext Akos Zalavary wrote: > Hi, > > Is there an easier solution for this? > > E.g. checking the size of struct in bytes and force reading the same > amount of data into that from the file... > > Thanks! > > typedefstruct_Sl_based_funct_t{ > /* byte*/ unsigned hypo_lac : 1; > /* byte*/ unsigned page_prev : 1; > /* byte*/ unsigned camel_prev : 1; > /* byte*/ unsigned isp : 1; > /* byte*/ unsigned emlpp_prev : 1; > /* byte*/ unsigned ded_page_rnc : 1; > /* byte*/ unsigned spare4 : 1; > /* byte*/ unsigned spare5 : 1; > } l_based_funct_t ; > > ...and reading one quint8 into it. -- Bill King, Software Engineer Qt Development Frameworks, Nokia Pty Ltd Brisbane Office _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
