[Qt-interest] Getting Style
admin at mbnoimi.net
admin at mbnoimi.net
Sat Jun 18 16:31:52 CEST 2011
On 16/06/2011 11:47 ?, Coda Highland wrote:
> Stylesheets aren't as fast as a proper C++ style.
>
> /s/ Adam
I create a tiny test for running manhattanstyle (current Qt Creator
style) but I got linking errors, how I can fix them (See the attachment
plz)?
-----log-----
c:\QtSDK\Desktop\Qt\4.7.3\mingw\bin\rcc.exe -name core core.qrc -o
release\qrc_core.cpp
g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE
-DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT
-DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-I"c:\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtCore"
-I"c:\QtSDK\Desktop\Qt\4.7.3\mingw\include\QtGui"
-I"c:\QtSDK\Desktop\Qt\4.7.3\mingw\include"
-I"c:\QtSDK\Desktop\Qt\4.7.3\mingw\include\ActiveQt" -I"release" -I"."
-I"c:\QtSDK\Desktop\Qt\4.7.3\mingw\mkspecs\win32-g++" -o
release\qrc_core.o release\qrc_core.cpp
g++ -enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl
-Wl,-subsystem,windows -o release\Manhattanstyle_test.exe
object_script.Manhattanstyle_test.Release
-L"c:\QtSDK\Desktop\Qt\4.7.3\mingw\lib" -lmingw32 -lqtmain -lQtGui4
-lQtCore4 -LC:\OpenSSL-Win32_full\lib
./release\stylehelper.o:stylehelper.cpp:(.text+0x1d7): undefined
reference to `_imp___ZN5Utils11StyleHelper11m_baseColorE'
./release\stylehelper.o:stylehelper.cpp:(.text+0x202): undefined
reference to `_imp___ZN5Utils11StyleHelper11m_baseColorE'
./release\stylehelper.o:stylehelper.cpp:(.text+0x4d9): undefined
reference to `_imp___ZN5Utils11StyleHelper20m_requestedBaseColorE'
./release\stylehelper.o:stylehelper.cpp:(.text+0x582): undefined
reference to `_imp___ZN5Utils11StyleHelper11m_baseColorE'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x128): undefined
reference to `_imp___ZN5Utils11StyleHelper14panelTextColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x45b): undefined
reference to `_imp___ZN5Utils15FancyMainWindow16staticMetaObjectE'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x874): undefined
reference to `_imp___ZN5Utils11StyleHelper11shadowColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x8b0): undefined
reference to `_imp___ZN5Utils11StyleHelper9baseColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x9e5): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0xa8b): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0xcc7): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0xd00): undefined
reference to `_imp___ZN5Utils11StyleHelper9baseColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0xf27): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0xf5f): undefined
reference to
`_imp___ZN5Utils11StyleHelper9drawArrowEN6QStyle16PrimitiveElementEP8QPainterPK12QStyleOption'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x105c): undefined
reference to
`_imp___ZN5Utils11StyleHelper15drawCornerImageERK6QImageP8QPainter5QRectiiii'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x1080): undefined
reference to `_imp___ZN5Utils11StyleHelper9baseColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x12bf): undefined
reference to
`_imp___ZN5Utils11StyleHelper15drawCornerImageERK6QImageP8QPainter5QRectiiii'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x26b5): undefined
reference to `_imp___ZTV14ManhattanStyle'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x29b8): undefined
reference to
`_imp___ZN5Utils11StyleHelper16verticalGradientEP8QPainterRK5QRectS5_b'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x29d9): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x2e4e): undefined
reference to `_imp___ZN5Utils11StyleHelper14panelTextColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x2efb): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x306f): undefined
reference to
`_imp___ZN5Utils11StyleHelper12menuGradientEP8QPainterRK5QRectS5_'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x308f): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x3133): undefined
reference to `_imp___ZN5Utils11StyleHelper11borderColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x3191): undefined
reference to
`_imp___ZN5Utils11StyleHelper12menuGradientEP8QPainterRK5QRectS5_'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x357b): undefined
reference to
`_imp___ZN5Utils11StyleHelper18horizontalGradientEP8QPainterRK5QRectS5_b'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x3629): undefined
reference to `_imp___ZN5Utils11StyleHelper9baseColorEb'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x4325): undefined
reference to `_imp___ZTV14ManhattanStyle'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x439d): undefined
reference to `_imp___ZTV14ManhattanStyle'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x4655): undefined
reference to `_imp___ZTV14ManhattanStyle'
./release\manhattanstyle.o:manhattanstyle.cpp:(.text+0x47a9): undefined
reference to `_imp___ZTV14ManhattanStyle'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x2e1): undefined
reference to `_imp___ZTVN5Utils15FancyMainWindowE'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x3af): undefined
reference to `_imp___ZN5Utils15FancyMainWindow16staticMetaObjectE'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x57b): undefined
reference to `_imp___ZN5Utils15FancyMainWindow16staticMetaObjectE'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x742): undefined
reference to `_imp___ZTVN5Utils15FancyMainWindowE'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x816): undefined
reference to `_imp___ZTVN5Utils15FancyMainWindowE'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x1bd5):
undefined reference to `_imp___ZTVN5Utils15FancyMainWindowE'
./release\fancymainwindow.o:fancymainwindow.cpp:(.text+0x1c89):
undefined reference to `_imp___ZTVN5Utils15FancyMainWindowE'
./release\moc_manhattanstyle.o:moc_manhattanstyle.cpp:(.text+0x15):
undefined reference to `_imp___ZN14ManhattanStyle16staticMetaObjectE'
./release\moc_manhattanstyle.o:moc_manhattanstyle.cpp:(.text+0x26):
undefined reference to `_imp___ZN14ManhattanStyle16staticMetaObjectE'
./release\moc_manhattanstyle.o:moc_manhattanstyle.cpp:(.text+0x92):
undefined reference to
`_imp___ZNK14ManhattanStyle26standardIconImplementationEN6QStyle14StandardPixmapEPK12QStyleOptionPK7QWidget'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0x15):
undefined reference to `_imp___ZN5Utils15FancyMainWindow16staticMetaObjectE'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0x26):
undefined reference to `_imp___ZN5Utils15FancyMainWindow16staticMetaObjectE'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0x47):
undefined reference to `_imp___ZN5Utils15FancyMainWindow16staticMetaObjectE'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0xa8):
undefined reference to
`_imp___ZN5Utils15FancyMainWindow17onTopLevelChangedEv'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0xce):
undefined reference to
`_imp___ZN5Utils15FancyMainWindow22onDockVisibilityChangeEb'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0xe0):
undefined reference to
`_imp___ZN5Utils15FancyMainWindow21onDockActionTriggeredEv'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0xfe):
undefined reference to
`_imp___ZN5Utils15FancyMainWindow21setDockActionsVisibleEb'
mingw32-make[1]: Leaving directory
`X:/PROJECTS/ARQAM/trunk/tmp/Manhattanstyle_test'
mingw32-make: Leaving directory
`X:/PROJECTS/ARQAM/trunk/tmp/Manhattanstyle_test'
./release\moc_fancymainwindow.o:moc_fancymainwindow.cpp:(.text+0x11a):
undefined reference to `_imp___ZN5Utils15FancyMainWindow9setLockedEb'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [release\Manhattanstyle_test.exe] Error 1
mingw32-make: *** [release] Error 2
The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building project Manhattanstyle_test (target: Desktop)
When executing build step 'Make'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110618/d52ccda1/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Manhattanstyle_test.zip
Type: application/x-zip-compressed
Size: 179353 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110618/d52ccda1/attachment.bin
More information about the Qt-interest-old
mailing list