VirtualBox

Changeset 81272 in vbox


Ignore:
Timestamp:
Oct 14, 2019 7:04:06 PM (5 years ago)
Author:
vboxsync
Message:

FE/Qt: Few forgotten bits for r133956, explicit QIWithRestorableGeometry instantiation for UICommon library and missed include.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp

    r81263 r81272  
    2727# include <QLineEdit>
    2828# include <QListView>
     29# include <QMainWindow>
    2930# include <QMenuBar>
    3031# include <QPainter>
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/QIWithRestorableGeometry.h

    r81261 r81272  
    143143};
    144144
     145/** Explicit QIWithRestorableGeometry instantiation for QMainWindow class.
     146  * @note  On Windows it's important that all template cases are instantiated just once across
     147  *        the linking space. In case we have particular template case instantiated from both
     148  *        library and executable sides, - we have multiple definition case and need to strictly
     149  *        ask compiler to do it just once and link such cases against library only.
     150  *        I would also note that it would be incorrect to just make whole the template exported
     151  *        to library because latter can have lack of required instantiations (current case). */
     152template class SHARED_LIBRARY_STUFF QIWithRestorableGeometry<QMainWindow>;
     153
    145154#endif /* !FEQT_INCLUDED_SRC_globals_QIWithRestorableGeometry_h */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette