Advice about deploying with extra files
-
in Qt Creator, right clicked on project, add new, Qt Resource file, chose name, added to project. Then chose prefix and added file. Save.
Open the form - selected main window, on right menu, property -> style sheet.
In the edit style sheet, add resource, and then background-image: url(:/new/prefix1/IMAGE.jpg);
Now the form has the wonderful IMAGE as the background, until I hit build... then it doesnt.Thanks Eddy.
-
i'm on Qt Creator 2.2 Based on Qt 4.7.4 (64 bit)
you could search bug tracker to see if there is ann issue. obviously it's resolved in my later version.
"use this link :http://developer.qt.nokia.com/contribute
. -
Unfortunately nothing, it seems the header file is overwriting any changes I make to the ui form. for example if I edit the ui header file and change the window title... then it changes. I've tried copying to a new file but I get a hundred odd error messages saying:
"invalid use of incomplete type 'struct Ui::MYPROJECT'"
or
forward declaration of 'struct Ui::MYPROJECT'am just about getting ready to throw my computer out of the window
-
Normally you do nothing in the ui header file. Qt generates it for you.
Did you alter things there before?
If you clean your project it shouldn't be there anymore.
Did you delete it in windows explorer? Make sure it's deleted before running qmake and building again