Reviewing merge request #4: Fixing a infinite Loop when declaring Metatypes

For some Types qtscriptgenerator manually expands
the Q_DECLARE_METATYPE value. But it calls the wrong
qDeclareMetaType function overload. This will run into a infinite
loop and causes a stack overflow

Commits that would be merged:

Version 2
  • Version 1
  • Version 2
  • 8b191fb
  • 640ca73
  • expansion of Q_DECLARE_METATYPE causes a infinite loop because the wrong overload of qRegisterMetaType is used

  • 6702cab
  • Expansion of Q_DECLARE_METATYPE causes a infinite loop

  • 8e4abfe
  • Fixing a infinite Loop when declaring Metatypes, fixing issues for merge request

  • ecdebe1
  • Fixing issues pointed out by khansen

Showing 8b191fb-640ca73

Comments

Pushed new version 1

Pushed new version 2

Fixed the issues pointed out, i hope i got the right spaces.

Add a new comment:

Login or create an account to post a comment

How to apply this merge request to your repository