Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Failed to build when tuned features
QtWS25 Last Chance

Failed to build when tuned features

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 1 Posters 3.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fifth
    wrote on last edited by
    #1

    I was trying to tune some unnecessary features, here's my qconfig-myfeatures.h, for Windows Mobile 6 platform.

    @
    /* D-Bus */
    #ifndef QT_NO_DBUS

    define QT_NO_DBUS

    #endif

    /* Data structures */
    #ifndef QT_NO_QUUID_STRING

    define QT_NO_QUUID_STRING

    #endif
    #ifndef QT_NO_TEXTDATE

    define QT_NO_TEXTDATE

    #endif

    /* Dialogs */
    #ifndef QT_NO_COLORDIALOG

    define QT_NO_COLORDIALOG

    #endif
    #ifndef QT_NO_FONTDIALOG

    define QT_NO_FONTDIALOG

    #endif
    #ifndef QT_NO_PRINTDIALOG

    define QT_NO_PRINTDIALOG

    #endif
    #ifndef QT_NO_TABDIALOG

    define QT_NO_TABDIALOG

    #endif
    #ifndef QT_NO_WIZARD

    define QT_NO_WIZARD

    #endif

    /* File I/O */
    #ifndef QT_NO_DOM

    define QT_NO_DOM

    #endif
    #ifndef QT_NO_TEMPORARYFILE

    define QT_NO_TEMPORARYFILE

    #endif

    /* Fonts */
    #ifndef QT_NO_QWS_QPF

    define QT_NO_QWS_QPF

    #endif
    #ifndef QT_NO_QWS_QPF2

    define QT_NO_QWS_QPF2

    #endif

    /* Gui */
    #ifndef QT_NO_SOFTKEYMANAGER

    define QT_NO_SOFTKEYMANAGER

    #endif

    /* Images */
    #ifndef QT_NO_IMAGEFORMATPLUGIN

    define QT_NO_IMAGEFORMATPLUGIN

    #endif
    #ifndef QT_NO_IMAGEFORMAT_XBM

    define QT_NO_IMAGEFORMAT_XBM

    #endif
    #ifndef QT_NO_IMAGE_HEURISTIC_MASK

    define QT_NO_IMAGE_HEURISTIC_MASK

    #endif
    #ifndef QT_NO_IMAGE_TEXT

    define QT_NO_IMAGE_TEXT

    #endif
    #ifndef QT_NO_MOVIE

    define QT_NO_MOVIE

    #endif

    /* ItemViews */
    #ifndef QT_NO_DATAWIDGETMAPPER

    define QT_NO_DATAWIDGETMAPPER

    #endif
    #ifndef QT_NO_COLUMNVIEW

    define QT_NO_COLUMNVIEW

    #endif
    #ifndef QT_NO_SORTFILTERPROXYMODEL

    define QT_NO_SORTFILTERPROXYMODEL

    #endif
    #ifndef QT_NO_STRINGLISTMODEL

    define QT_NO_STRINGLISTMODEL

    #endif
    #ifndef QT_NO_TABLEVIEW

    define QT_NO_TABLEVIEW

    #endif

    /* Kernel */
    #ifndef QT_NO_CLIPBOARD

    define QT_NO_CLIPBOARD

    #endif
    #ifndef QT_NO_CONCURRENT

    define QT_NO_CONCURRENT

    #endif
    #ifndef QT_NO_CSSPARSER

    define QT_NO_CSSPARSER

    #endif
    #ifndef QT_NO_SESSIONMANAGER

    define QT_NO_SESSIONMANAGER

    #endif
    #ifndef QT_NO_SHAREDMEMORY

    define QT_NO_SHAREDMEMORY

    #endif
    #ifndef QT_NO_SOUND

    define QT_NO_SOUND

    #endif
    #ifndef QT_NO_SYSTEMSEMAPHORE

    define QT_NO_SYSTEMSEMAPHORE

    #endif
    #ifndef QT_NO_TABLETEVENT

    define QT_NO_TABLETEVENT

    #endif
    #ifndef QT_NO_TEXTHTMLPARSER

    define QT_NO_TEXTHTMLPARSER

    #endif
    #ifndef QT_NO_XMLSTREAM

    define QT_NO_XMLSTREAM

    #endif

    /* Networking */
    #ifndef QT_NO_COP

    define QT_NO_COP

    #endif
    #ifndef QT_NO_HOSTINFO

    define QT_NO_HOSTINFO

    #endif
    #ifndef QT_NO_NETWORKINTERFACE

    define QT_NO_NETWORKINTERFACE

    #endif
    #ifndef QT_NO_NETWORKPROXY

    define QT_NO_NETWORKPROXY

    #endif
    #ifndef QT_NO_UDPSOCKET

    define QT_NO_UDPSOCKET

    #endif
    #ifndef QT_NO_URLINFO

    define QT_NO_URLINFO

    #endif

    /* Painting */
    #ifndef QT_NO_PICTURE

    define QT_NO_PICTURE

    #endif

    /* Phonon */
    #ifndef QT_NO_PHONON_ABSTRACTMEDIASTREAM

    define QT_NO_PHONON_ABSTRACTMEDIASTREAM

    #endif
    #ifndef QT_NO_PHONON_AUDIOCAPTURE

    define QT_NO_PHONON_AUDIOCAPTURE

    #endif
    #ifndef QT_NO_PHONON_EFFECT

    define QT_NO_PHONON_EFFECT

    #endif
    #ifndef QT_NO_PHONON_MEDIACONTROLLER

    define QT_NO_PHONON_MEDIACONTROLLER

    #endif
    #ifndef QT_NO_PHONON_OBJECTDESCRIPTIONMODEL

    define QT_NO_PHONON_OBJECTDESCRIPTIONMODEL

    #endif
    #ifndef QT_NO_PHONON_SEEKSLIDER

    define QT_NO_PHONON_SEEKSLIDER

    #endif
    #ifndef QT_NO_PHONON_VIDEO

    define QT_NO_PHONON_VIDEO

    #endif
    #ifndef QT_NO_PHONON_VOLUMESLIDER

    define QT_NO_PHONON_VOLUMESLIDER

    #endif

    /* Qt for Embedded Linux */
    #ifndef QT_NO_QWSEMBEDWIDGET

    define QT_NO_QWSEMBEDWIDGET

    #endif
    #ifndef QT_NO_QWS_ALPHA_CURSOR

    define QT_NO_QWS_ALPHA_CURSOR

    #endif
    #ifndef QT_NO_QWS_CURSOR

    define QT_NO_QWS_CURSOR

    #endif
    #ifndef QT_NO_QWS_DECORATION_DEFAULT

    define QT_NO_QWS_DECORATION_DEFAULT

    #endif
    #ifndef QT_NO_QWS_KEYBOARD

    define QT_NO_QWS_KEYBOARD

    #endif
    #ifndef QT_NO_QWS_MOUSE

    define QT_NO_QWS_MOUSE

    #endif
    #ifndef QT_NO_QWS_MOUSE_AUTO

    define QT_NO_QWS_MOUSE_AUTO

    #endif
    #ifndef QT_NO_QWS_MOUSE_MANUAL

    define QT_NO_QWS_MOUSE_MANUAL

    #endif
    #ifndef QT_NO_QWS_MULTIPROCESS

    define QT_NO_QWS_MULTIPROCESS

    #endif
    #ifndef QT_NO_QWS_PROPERTIES

    define QT_NO_QWS_PROPERTIES

    #endif
    #ifndef QT_NO_QWS_PROXYSCREEN

    define QT_NO_QWS_PROXYSCREEN

    #endif

    /* Styles */
    #ifndef QT_NO_STYLE_MOTIF

    define QT_NO_STYLE_MOTIF

    #endif
    #ifndef QT_NO_STYLE_WINDOWSVISTA

    define QT_NO_STYLE_WINDOWSVISTA

    #endif

    /* Utilities */
    #ifndef QT_NO_ANIMATION

    define QT_NO_ANIMATION

    #endif
    #ifndef QT_NO_COMPLETER

    define QT_NO_COMPLETER

    #endif
    #ifndef QT_NO_GESTURES

    define QT_NO_GESTURES

    #endif
    #ifndef QT_NO_STATEMACHINE

    define QT_NO_STATEMACHINE

    #endif
    #ifndef QT_NO_SYSTEMTRAYICON

    define QT_NO_SYSTEMTRAYICON

    #endif
    #ifndef QT_NO_UNDOCOMMAND

    define QT_NO_UNDOCOMMAND

    #endif

    /* Widgets */
    #ifndef QT_NO_LCDNUMBER

    define QT_NO_LCDNUMBER

    #endif
    #ifndef QT_NO_LISTWIDGET

    define QT_NO_LISTWIDGET

    #endif
    #ifndef QT_NO_CONTEXTMENU

    define QT_NO_CONTEXTMENU

    #endif
    #ifndef QT_NO_DOCKWIDGET

    define QT_NO_DOCKWIDGET

    #endif
    #ifndef QT_NO_WORKSPACE

    define QT_NO_WORKSPACE

    #endif
    #ifndef QT_NO_DIAL

    define QT_NO_DIAL

    #endif
    #ifndef QT_NO_GRAPHICSVIEW

    define QT_NO_GRAPHICSVIEW

    #endif
    #ifndef QT_NO_MDIAREA

    define QT_NO_MDIAREA

    #endif
    #ifndef QT_NO_SYNTAXHIGHLIGHTER

    define QT_NO_SYNTAXHIGHLIGHTER

    #endif
    #ifndef QT_NO_TEXTBROWSER

    define QT_NO_TEXTBROWSER

    #endif
    #ifndef QT_NO_SPLASHSCREEN

    define QT_NO_SPLASHSCREEN

    #endif
    #ifndef QT_NO_TABBAR

    define QT_NO_TABBAR

    #endif
    #ifndef QT_NO_TOOLBOX

    define QT_NO_TOOLBOX

    #endif
    #ifndef QT_NO_WHATSTHIS

    define QT_NO_WHATSTHIS

    #endif
    #ifndef QT_NO_TREEWIDGET

    define QT_NO_TREEWIDGET

    #endif

    /* Windows */
    #ifndef QT_NO_WIN_ACTIVEQT

    define QT_NO_WIN_ACTIVEQT

    #endif
    @

    [EDIT: fixed code formatting, Volker]

    1 Reply Last reply
    0
    • F Offline
      F Offline
      fifth
      wrote on last edited by
      #2

      I strictly followed the shadow build guide, here's my configuration,
      [quote]
      configure -qconfig myfeature -platform win32-msvc2005 -xplatform wincewm60professional-msvc2005 -opensource -release -no-qmake -confirm-license
      [/quote]

      Tool qconfig provided quite a straight way to check out features and shows how they depends on others. But I'm afraid that qconfig didn't show all dependencies of those features so that I ended up with following compiling errors.
      [quote]
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(201) : error C2065: 'move_cursor'
      : undeclared identifier
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(202) : error C2065: 'copy_cursor'
      : undeclared identifier
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(203) : error C2065: 'link_cursor'
      : undeclared identifier
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(1116) : error C2039: 'move_cursor
      ' : is not a member of 'QApplicationPrivate'
      d:qt4.7.1.cesrcguikernelqapplication_p.h(290) : see declaration of
      'QApplicationPrivate'
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(1116) : error C2039: 'move_cursor
      ' : is not a member of 'QApplicationPrivate'
      d:qt4.7.1.cesrcguikernelqapplication_p.h(290) : see declaration of
      'QApplicationPrivate'
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(1117) : error C2039: 'copy_cursor
      ' : is not a member of 'QApplicationPrivate'
      d:qt4.7.1.cesrcguikernelqapplication_p.h(290) : see declaration of
      'QApplicationPrivate'
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(1117) : error C2039: 'copy_cursor
      ' : is not a member of 'QApplicationPrivate'
      d:qt4.7.1.cesrcguikernelqapplication_p.h(290) : see declaration of
      'QApplicationPrivate'
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(1118) : error C2039: 'link_cursor
      ' : is not a member of 'QApplicationPrivate'
      d:qt4.7.1.cesrcguikernelqapplication_p.h(290) : see declaration of
      'QApplicationPrivate'
      d:Qt4.7.1.CEsrcguikernelqapplication.cpp(1118) : error C2039: 'link_cursor
      ' : is not a member of 'QApplicationPrivate'
      [/quote]

      Then I checked out qapplication_p.h
      @
      #if defined(Q_WS_X11) || defined(Q_WS_WIN)
      QPixmap *move_cursor;
      QPixmap *copy_cursor;
      QPixmap *link_cursor;
      #endif
      @

      and I also saw there was another macro Q_WS_WINCE_WM, I didn't figure out what happened.

      Any suggestion?

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fifth
        wrote on last edited by
        #3

        btw, I also tried to build default medium config, got same errors

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved