![]() |
Здравствуйте, гость ( Вход | Регистрация )
![]() |
Гость_klochec_v_* |
![]()
Сообщение
#1
|
Гости ![]() |
............
#include <qmotifstyle.h> ............ app.setStyle(new QMotifStyle); ............ получается страшная вещь: main.cpp link /NOLOGO delayimp.lib /DELAYLOAD:comdlg32.dll /DELAYLOAD:oleaut32.dll /DELAYLOAD:winmm.d ll /DELAYLOAD:wsock32.dll /DELAYLOAD:winspool.dll /SUBSYSTEM:console /LIBPATH:"C:\Qt\3.3.4\lib" /OUT :bin\bin.exe @C:\WINDOWS\TEMP\nm71.tmp LINK : warning LNK4199: /DELAYLOAD:comdlg32.dll ignored; no imports found from comdlg32.dll LINK : warning LNK4199: /DELAYLOAD:oleaut32.dll ignored; no imports found from oleaut32.dll LINK : warning LNK4199: /DELAYLOAD:winmm.dll ignored; no imports found from winmm.dll LINK : warning LNK4199: /DELAYLOAD:winspool.dll ignored; no imports found from winspool.dll main.obj : error LNK2001: unresolved external symbol "public: virtual class QPixmap __thiscall QMoti fStyle::stylePixmap(enum QStyle::StylePixmap,class QWidget const *,class QStyleOption const &)const " (?stylePixmap@QMotifStyle@@UBE?AVQPixmap@@W4StylePixmap@QStyle@@PBVQWidget@@ABVQStyleOption@@@Z) main.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall QMotifStyle::st yleHint(enum QStyle::StyleHint,class QWidget const *,class QStyleOption const &,class QStyleHintRetu rn *)const " (?styleHint@QMotifStyle@@UBEHW4StyleHint@QStyle@@PBVQWidget@@ABVQStyleOption@@PAVQ Style HintReturn@@@Z) main.obj : error LNK2001: unresolved external symbol "public: virtual class QSize __thiscall QMotifS tyle::sizeFromContents(enum QStyle::ContentsType,class QWidget const *,class QSize const &,class QSt yleOption const &)const " (?sizeFromContents@QMotifStyle@@UBE?AVQSize@@W4ContentsType@QStyle@@PBVQWi dget@@ABV2@ABVQStyleOption@@@Z) main.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall QMotifStyle: ![]() xelMetric(enum QStyle::PixelMetric,class QWidget const *)const " (?pixelMetric@QMotifStyle@@UBEHW4Pi xelMetric@QStyle@@PBVQWidget@@@Z) main.obj : error LNK2001: unresolved external symbol "public: virtual class QRect __thiscall QMotifS tyle::querySubControlMetrics(enum QStyle::ComplexControl,class QWidget const *,enum QStyle::SubContr ol,class QStyleOption const &)const " (?querySubControlMetrics@QMotifStyle@@UBE?AVQRect@@W4ComplexCo ntrol@QStyle@@PBVQWidget@@W4SubControl@4@ABVQStyleOption@@@Z) main.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall QMotifStyle: ![]() rawComplexControl(enum QStyle::ComplexControl,class QPainter *,class QWidget const *,class QRect con st &,class QColorGroup const &,unsigned int,unsigned int,unsigned int,class QStyleOption const &)con st " (?drawComplexControl@QMotifStyle@@UBEXW4ComplexControl@QStyle@@PAVQPainter@@PBVQWi dget@@ABVQRec t@@ABVQColorGroup@@IIIABVQStyleOption@@@Z).... и все в таком духе. интересно что не так, как надо...и почему стиль не работает. в примерах стили работают. ![]() |
|
|
![]() ![]() ![]() |
![]() |
|
Текстовая версия | Сейчас: 17.3.2025, 10:03 |