Results 1 to 6 of 6

Thread: lupdate Qt 4.7.1 not working anymore??

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Location
    Stuttgart, Germany
    Posts
    22
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default lupdate Qt 4.7.1 not working anymore??

    Hello,

    I use Linguist & lupdate/lrelease cycle ever since to update tr() strings in my code for translating.

    But with recent Qt 4.7.1 version this does not seem to work anymore? I have a big project with several subdirs, structured like this:

    Qt Code:
    1. - MainDir
    2. main.pro
    3. - Module1
    4. module1.pro
    5. - Module2
    6. module2.pro
    7. [...]
    8. - Main
    9. main.pro
    10. - resource
    11. Program_de.ts
    12. [...]
    13. Program_de.qm
    14. [...]
    To copy to clipboard, switch view to plain text mode 

    the Module subdirs being dynamic libraries (DLLs) and Main being the application
    Qt Code:
    1. TEMPLATE=app
    To copy to clipboard, switch view to plain text mode 
    and the resource dir containing all program resources like translations (ts/qm files), icons etc. Up until now, executing lupdate in main directory or application subdirectory was sufficient to update translation file:

    Qt Code:
    1. lupdate Program.pro
    2.  
    3. or
    4.  
    5. lupdate Main.pro
    To copy to clipboard, switch view to plain text mode 

    but this does not work anymore with Qt 4.7.1, I get a lot of weird errors like this:
    Qt Code:
    1. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(66):Function 'eval' is not im
    2. plemented
    3. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(69):Function 'eval' is not im
    4. plemented
    5. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(72):Function 'eval' is not im
    6. plemented
    7. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(75):Function 'eval' is not im
    8. plemented
    9. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(78):Function 'eval' is not im
    10. plemented
    11. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(80):Function 'eval' is not im
    12. plemented
    13. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(82):Function 'eval' is not im
    14. plemented
    15. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(84):Function 'eval' is not im
    16. plemented
    17. C:/Qt/4.7.1/src/gui/kernel/qactiongroup.h:45: circular inclusion of c:/Qt/4.7.1/
    18. include/QtGui/qaction.h
    19. c:/Qt/4.7.1/include/QtGui/qboxlayout.h:1: circular inclusion of C:/Qt/4.7.1/src/
    20. gui/kernel/qboxlayout.h
    21. C:/Qt/4.7.1/src/gui/kernel/qgridlayout.h:45: circular inclusion of c:/Qt/4.7.1/i
    22. nclude/QtGui/qlayout.h
    23. C:/Qt/4.7.1/mkspecs/features/default_post.prf(5):Function 'system' is not implem
    24. ented
    25. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(66):Function 'eval' is not im
    26. plemented
    27. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(69):Function 'eval' is not im
    28. plemented
    29. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(72):Function 'eval' is not im
    30. plemented
    31. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(75):Function 'eval' is not im
    32. plemented
    33. C:/Qt/4.7.1/mkspecs/features/debug_and_release.prf(78):Function 'eval' is not im
    To copy to clipboard, switch view to plain text mode 
    and at the end, not any tr() string in my code was found:

    Qt Code:
    1. Updating 'resource/Tracker_de.ts'...
    2. Found 0 source text(s) (0 new and 0 already existing)
    3. Kept 175 obsolete entries
    To copy to clipboard, switch view to plain text mode 
    making any old strings obsolete.

    Any help is greatly appreciated, thanks
    AlGaN

    Edit: Systen: Win7 64bit, Qt 4.7.1 32-bit, MS VC 2010

    There seems to be a bug open related to this issue:
    http://bugreports.qt.nokia.com/browse/QTBUG-6587#

    Wondering that nobody has probs in this issue though it may affect all multilanguage apps?
    Last edited by AlGaN; 3rd March 2011 at 10:19. Reason: updated contents

Similar Threads

  1. Cannot debug anymore,need help~~
    By MorrisLiang in forum Newbie
    Replies: 1
    Last Post: 21st October 2010, 09:17
  2. Problem with lupdate
    By loris128 in forum Qt Tools
    Replies: 3
    Last Post: 8th April 2009, 20:36
  3. 4.2 and lupdate
    By Byngl in forum Qt Programming
    Replies: 3
    Last Post: 12th November 2007, 03:55
  4. QAxObject does not work anymore?
    By jh in forum Qt Programming
    Replies: 3
    Last Post: 6th July 2007, 22:04
  5. lupdate *.pro troubles
    By jeff_s in forum Qt Programming
    Replies: 1
    Last Post: 28th July 2006, 10:07

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
  •  
Qt is a trademark of The Qt Company.