Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Problem running lupdate
Forum Updated to NodeBB v4.3 + New Features

Problem running lupdate

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 462 Views 2 Watching
  • 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.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by Perdrix
    #1

    --- (lupdate) file: D:\Users\amonra\Documents\GitHub\DSS\DeepSkyStacker\i18n\DSS_zh.ts
    --- D:/Users/amonra/Documents/GitHub/DSS/DeepSkyStacker/DeepSkyStacker.cpp:77: Excess closing parenthesis in C++ code (or abuse of the C++ preprocessor)
    --- D:/Users/amonra/Documents/GitHub/DSS/DeepSkyStacker/DeepSkyStacker.cpp:118: Excess closing brace in C++ code (or abuse of the C++ preprocessor)
    --- (lupdate) file: "i18n\DSS_zh.ts" : Exit Code: 0

    There's nothing unusual there

    bool CheckVersion(CString & strVersion)
    {
    	ZFUNCTRACE_RUNTIME();
    	bool		bResult = false;
    
    #ifndef DSSBETA
    	QSettings			settings;
    	CStdioFile			*remotefile = nullptr;
    
    	bool checkVersion = settings.value("InternetCheck"), false).toBool();
    
           : Omitted
    
    	};
    	delete remotefile;
    #endif
    
    	return bResult;
    }
    

    as you can see, so why is lupdate complaining please?

    David

    Pablo J. RoginaP 1 Reply Last reply
    0
    • PerdrixP Perdrix

      --- (lupdate) file: D:\Users\amonra\Documents\GitHub\DSS\DeepSkyStacker\i18n\DSS_zh.ts
      --- D:/Users/amonra/Documents/GitHub/DSS/DeepSkyStacker/DeepSkyStacker.cpp:77: Excess closing parenthesis in C++ code (or abuse of the C++ preprocessor)
      --- D:/Users/amonra/Documents/GitHub/DSS/DeepSkyStacker/DeepSkyStacker.cpp:118: Excess closing brace in C++ code (or abuse of the C++ preprocessor)
      --- (lupdate) file: "i18n\DSS_zh.ts" : Exit Code: 0

      There's nothing unusual there

      bool CheckVersion(CString & strVersion)
      {
      	ZFUNCTRACE_RUNTIME();
      	bool		bResult = false;
      
      #ifndef DSSBETA
      	QSettings			settings;
      	CStdioFile			*remotefile = nullptr;
      
      	bool checkVersion = settings.value("InternetCheck"), false).toBool();
      
             : Omitted
      
      	};
      	delete remotefile;
      #endif
      
      	return bResult;
      }
      

      as you can see, so why is lupdate complaining please?

      David

      Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @Perdrix said in Problem running lupdate:

      bool checkVersion = settings.value("InternetCheck"), false).toBool();

      if that's the actual code (no typos) I can see an extra ")" (like lupdate does, I guess)

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • PerdrixP Offline
        PerdrixP Offline
        Perdrix
        wrote on last edited by Perdrix
        #3

        BLUSH as that code was ifndef-ed away I'd never spotted that !!

        Pablo J. RoginaP 1 Reply Last reply
        0
        • PerdrixP Perdrix

          BLUSH as that code was ifndef-ed away I'd never spotted that !!

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @Perdrix if that solves your issue please don't forget to mark your post as solved!

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          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