c++ - Convert Qt 4.7 to 4.2 -
hey, i'm in group compsci project @ school. need write interface in qt. group member wrote gui in qt 4.7 , needs compile qt 4.2. when try qmake project, says "uic: file generated old of version of qt designer".
i'm new qt don't know how has changed between versions. group member isn't being help. there painless way me convert files right version of qt?
the first thing i'd try open *.ui files in old qt designer , try save them. if doesn't want save newly opened file, i'd make insignificant changes changing property of component different value , back.
however, may happen qt designer complain being old particular file, uic did. in case you'll have edit *.ui files hand. plain xml files can done relatively easy. first open them , change version attribute "4.2" or whatever used qt 4.2 there in case it's different qt version. try compile. uic complain properties aren't supported 4.2 or specified in different way. you'll have either remove properties if aren't necessary or specify them in 4.2-compatible way. in order figure out how it, create simple ui scratch, using particular property, , save new file. open , how done in 4.2. edit files conform format.
i did in past (not 4.7 4.2 though), , easier sounds. had change way few properties specified. margins or that, don't remember exactly. able regular expression replace think.
Comments
Post a Comment