+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: Some very weird compilation warnings

  1. #1
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Some very weird compilation warnings

    Hi!

    I added a .png icon to my application and tried to rebuild. I get following warnings:
    Severity and Description Path Resource Location Creation Time Id
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10cf7' too big, try a different debug format eROSystem line 1101703 1200967859703 4025
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d44' too big, try a different debug format eROSystem line 1101704 1200967859703 4026
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d67' too big, try a different debug format eROSystem line 100 1200967859703 3994
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d6c' too big, try a different debug format eROSystem line 1101705 1200967859703 4027
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d6e' too big, try a different debug format eROSystem line 131 1200967859703 3999
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 160 1200967859703 4004
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 167 1200967859703 4005
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 168 1200967859703 4006
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 169 1200967859703 4007
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 209 1200967859703 4011
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 210 1200967859703 4012
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 231 1200967859703 4015
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 232 1200967859703 4016
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d73' too big, try a different debug format eROSystem line 1101706 1200967859703 4028
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d74' too big, try a different debug format eROSystem line 1101660 1200967859703 4019
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s .stabs: description field '10d75' too big, try a different debug format eROSystem line 1101682 1200967859703 4022
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d67' too big, try a different debug format eROSystem line 104 1200967859703 3995
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d69' too big, try a different debug format eROSystem line 111 1200967859703 3996
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6a' too big, try a different debug format eROSystem line 118 1200967859703 3997
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6b' too big, try a different debug format eROSystem line 123 1200967859703 3998
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6c' too big, try a different debug format eROSystem line 177 1200967859703 4009
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d6e' too big, try a different debug format eROSystem line 135 1200967859703 4000
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d70' too big, try a different debug format eROSystem line 142 1200967859703 4001
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d71' too big, try a different debug format eROSystem line 149 1200967859703 4002
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d72' too big, try a different debug format eROSystem line 154 1200967859703 4003
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 172 1200967859703 4008
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 186 1200967859703 4010
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 214 1200967859703 4013
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 220 1200967859703 4014
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 236 1200967859703 4017
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d73' too big, try a different debug format eROSystem line 240 1200967859703 4018
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d74' too big, try a different debug format eROSystem line 1101663 1200967859703 4020
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d74' too big, try a different debug format eROSystem line 1101668 1200967859703 4021
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d75' too big, try a different debug format eROSystem line 1101685 1200967859703 4023
    C:\DOCUME~1\markofr\LOCALS~1\Temp/cc4Ibaaa.s description field '10d75' too big, try a different debug format eROSystem line 1101690 1200967859703 4024
    Can someone tell me what the hell is going on??
    Last edited by jacek; 22nd January 2008 at 21:10. Reason: changed [code] to [quote]
    Qt 5.3 Opensource & Creator 3.1.2

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    Which tool outputs these warnings? It's always a good idea to paste the preceding command together with errors/warnings.
    J-P Nurmi

  3. #3
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    mingw32-make
    Qt 5.3 Opensource & Creator 3.1.2

  4. #4
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Question Re: Some very weird compilation warnings

    jpn and other kind people, now I am trying to debug an QEvent::ChangeLanguage, I've set a breakpoint on following code:
    Qt Code:
    1. void COperationWIndow::changeEvent(QEvent* e)
    2. {
    3. qDebug() << "Change event .."; // debug - BREAKPOINT HAS BEEN SET IN THIS LINE
    4. if(e->type()==QEvent::LanguageChange)
    5. {
    6. // language has changed
    7. qDebug() << "Language has changed";
    8. }
    9. }
    To copy to clipboard, switch view to plain text mode 
    and after compile I get in Eclipse console:
    mingw32-make
    mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `C:/Documents and Settings/markofr/workspace/eROSystem'
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CLanguageSelectorWidget.o CLanguageSelectorWidget.cpp
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CFlagButton.o CFlagButton.cpp
    C:\DOCUME~1\markofr\LOCALS~1\Temp/ccymbaaa.s: Assembler messages:
    C:\DOCUME~1\markofr\LOCALS~1\Temp/ccymbaaa.s:3188: Fatal error: Case value 262145 unexpected at line 2251 of file "../../src/gas/write.c"

    mingw32-make[1]: *** [debug/CFlagButton.o] Error 1
    mingw32-make[1]: Leaving directory `C:/Documents and Settings/markofr/workspace/eROSystem'
    mingw32-make: *** [debug] Error 2
    Some two days ago my comp crashed (Blue Screen of Death). I became suspicious about Qt corrupted files. Should I try to recompile whole Qt?
    Last edited by jacek; 22nd January 2008 at 21:09. Reason: changed [code] to [quote]
    Qt 5.3 Opensource & Creator 3.1.2

  5. #5
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    Well, this is getting weirder and weirder. I've restarted the comp and now I am trying to compile THE IDENTICAL CODE. I get following errors:
    mingw32-make
    mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `C:/Documents and Settings/markofr/workspace/eROSystem'
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CLanguageSelectorWidget.o CLanguageSelectorWidget.cpp
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_SQL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtCore" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtGui" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include\QtSql" -I"..\..\..\..\Qt\4.3.3\include" -I"c:\Qt\4.3.3\include\ActiveQt" -I"debug" -I"." -I"..\..\..\..\Qt\4.3.3\mkspecs\win32-g++" -o debug\CFlagButton.o CFlagButton.cpp
    In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ios:51,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:45,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iterator:71,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qlist.h:45,
    from ../../../../Qt/4.3.3/include/QtCore/qlist.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/kernel/qobject.h:45,
    from ../../../../Qt/4.3.3/include/QtCore/qobject.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qiodevice.h:41,
    from ../../../../Qt/4.3.3/include/QtCore/qiodevice.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qdatastream.h:40,
    from ../../../../Qt/4.3.3/include/QtCore/qdatastream.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qstringlist.h:41,
    from ../../../../Qt/4.3.3/include/QtCore/qstringlist.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/painting/qcolor.h:42,
    from ../../../../Qt/4.3.3/include/QtGui/qcolor.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qpixmap.h:41,
    from ../../../../Qt/4.3.3/include/QtGui/qpixmap.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qicon.h:42,
    from ../../../../Qt/4.3.3/include/QtGui/qicon.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qabstractbutton.h:40,
    from ../../../../Qt/4.3.3/include/QtGui/qabstractbutton.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qpushbutton.h:40,
    from ../../../../Qt/4.3.3/include/QtGui/qpushbutton.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/QPushButton:1,
    from CFlagButton.h:14,
    from CFlagButton.cpp:1:
    C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:4297: error: `const$char' has not been declared
    In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:4487,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/basic_ios.h:44,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ios:51,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/ostream:45,
    from C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/iterator:71,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qlist.h:45,
    from ../../../../Qt/4.3.3/include/QtCore/qlist.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/kernel/qobject.h:45,
    from ../../../../Qt/4.3.3/include/QtCore/qobject.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qiodevice.h:41,
    from ../../../../Qt/4.3.3/include/QtCore/qiodevice.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/io/qdatastream.h:40,
    from ../../../../Qt/4.3.3/include/QtCore/qdatastream.h:1,
    from ../../../../Qt/4.3.3/include/QtCore/../../src/corelib/tools/qstringlist.h:41,
    from ../../../../Qt/4.3.3/include/QtCore/qstringlist.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/painting/qcolor.h:42,
    from ../../../../Qt/4.3.3/include/QtGui/qcolor.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qpixmap.h:41,
    from ../../../../Qt/4.3.3/include/QtGui/qpixmap.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/image/qicon.h:42,
    from ../../../../Qt/4.3.3/include/QtGui/qicon.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qabstractbutton.h:40,
    from ../../../../Qt/4.3.3/include/QtGui/qabstractbutton.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/../../src/gui/widgets/qpushbutton.h:40,
    from ../../../../Qt/4.3.3/include/QtGui/qpushbutton.h:1,
    from ../../../../Qt/4.3.3/include/QtGui/QPushButton:1,
    from CFlagButton.h:14,
    from CFlagButton.cpp:1:
    C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/messages_members.h:44: error: prototype for `std::messages<_CharT>::messages(int*, const char*, size_t)' does not match any in class `std::messages<_CharT>'
    C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/bits/locale_facets.h:4297: error: candidates are: std::messages<_CharT>::messages(int*, int*, size_t)
    C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/messages_members.h:39: error: std::messages<_CharT>::messages(size_t)
    C:/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../include/c++/3.4.2/mingw32/bits/messages_members.h:44: error: template definition of non-template `std::messages<_CharT>::messages(int*, const char*, size_t)'
    mingw32-make[1]: *** [debug/CFlagButton.o] Error 1
    mingw32-make[1]: Leaving directory `C:/Documents and Settings/markofr/workspace/eROSystem'
    mingw32-make: *** [debug] Error 2
    I do not know what is going on. WTF??!!!
    Last edited by jacek; 22nd January 2008 at 21:22. Reason: changed [code] to [quote]
    Qt 5.3 Opensource & Creator 3.1.2

  6. #6
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    Well, I've succesfully got rid of this error. My geniality has written this chunk of code into header file:
    Qt Code:
    1. #include <QEvent>
    2. class QEvent; // forward declaration
    To copy to clipboard, switch view to plain text mode 
    Unfortunately, those warnings from post #1 reside. I've added an attachment, which contains extended compile report, asked by jpn.
    Attached Files Attached Files
    Qt 5.3 Opensource & Creator 3.1.2

  7. #7
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    Are you using a normal Windows command prompt (Qt command prompt)?
    J-P Nurmi

  8. #8
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    Yep, I tried both, Eclipse IDE console and Qt command prompt, same warnings. But when I removed a picture from .qrc file, these warnings had dissapeared. Is this some kind of bug?
    Qt 5.3 Opensource & Creator 3.1.2

  9. #9
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    Ok, I just asked because while searching Google for such warning I got hits related to Cygwin. Could you by any chance attach the image? I could give it a try if I'm getting same warnings.
    J-P Nurmi

  10. #10
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    What do you mean by image? Exe image or picture of some kind? I cannot give you GUI representation becuase once I delete some png file from resource file, the warnings have dissapeared.
    Qt 5.3 Opensource & Creator 3.1.2

  11. #11
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    With image I meant the .png file which is causing such warnings. But are you saying that any .png file causes them?
    J-P Nurmi

  12. #12
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    Attached png file causes warnings.
    Attached Images Attached Images
    Qt 5.3 Opensource & Creator 3.1.2

  13. #13
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    Hmm, no warnings for me with Qt 4.3.3 and MinGW.
    J-P Nurmi

  14. #14
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    Should I send you all the pics included in qrc?
    Qt 5.3 Opensource & Creator 3.1.2

  15. #15
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    I'm not convinced it changes the situation. I'm clueless about the problem, sorry.
    J-P Nurmi

  16. The following user says thank you to jpn for this useful post:

    MarkoSan (23rd January 2008)

  17. #16
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    No problem, I will reduce the number of elements in .qrc and all will be fine.
    Qt 5.3 Opensource & Creator 3.1.2

  18. #17
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    Oh, it happens only when enough images are embedded as resources?
    J-P Nurmi

  19. #18
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    Yep, that is what I have been telling you from beginning.
    Qt 5.3 Opensource & Creator 3.1.2

  20. #19
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,517 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Some very weird compilation warnings

    Have you? Which message says so? Anyway, maybe your computer runs out of memory while compiling a large resource file.
    J-P Nurmi

  21. #20
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Some very weird compilation warnings

    ??? Out of memory???? I have 2 gigs of ram, plentiy of disk space, and if your assumption is true for a lousy 6mb exe, then trolltech should close the firm.
    Qt 5.3 Opensource & Creator 3.1.2

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts