hi all,
is it possible to plug our custom widgets to .ui file?
i tried with changing the .ui file but it will fire the following error
In file included from src/home.cpp:3:
./ui_home.h:25:22: error: clbutton.h: No such file or directory
make: *** [build/home.o] Error 1
make: Target `all' not remade because of errors.
CLButton is my custom widget
this is the .ui entry
<widget class="CLButton" name="cLButtonAddNewEvent">
<property name="minimumSize">
<size>
<width>760</width>
<height>70</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>760</width>
<height>70</height>
</size>
</property>
<property name="text">
<string> &Name</string>
</property>
<property name="icon">
<iconset resource="../application.qrc">
<normaloff>:/images/icon.png</normaloff>:/images/icon.png</iconset>
</property>
<property name="iconSize">
<size>
<width>52</width>
<height>49</height>
</size>
</property>
<property name="description">
<string> Description.</string>
</property>
</widget>
cheers
~Wishwa

Reply With Quote


