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. QtCreator hangs up when I typed "this->"
QtWS25 Last Chance

QtCreator hangs up when I typed "this->"

Scheduled Pinned Locked Moved Qt Creator and other tools
7 Posts 5 Posters 2.2k Views
  • 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.
  • S Offline
    S Offline
    shin
    wrote on last edited by
    #1

    This happens 100%.

    template<typename T>
    class TemplateClass {
    public:
    };

    class Test : TemplateClass<Test> {
    public:
    void func(){
    // In this section, when I type
    this->
    // QtCreator will be down.
    }
    };

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This certainly should not be happening. Please try with newest sources ("Qt Creator 2.8.0 beta":http://blog.qt.digia.com/blog/2013/05/30/qt-creator-2-8-0-beta-released/ was released yesterday), if that does not help, file a bug report "here":https://qt-project.org/wiki/ReportingBugsInQt.

      (Z(:^

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        This does not happen for me.

        Which version of Creator do you use and which Qt version does Creator use? The information is available in Help>About Qt Creator. Which OS are you running Creator on?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          Alek Śmierciak
          wrote on last edited by
          #4

          It might be useful if you could try to reproduce this issue when running QtCreator from terminal prompt.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            shin
            wrote on last edited by
            #5

            I tried 2.8 beta, It works fine!!
            I'm looking forword to getting new version...
            Thank you.

            My environment was

            Windows7 64bit
            QtCreator 2.7.1

            1 Reply Last reply
            0
            • francescmmF Offline
              francescmmF Offline
              francescmm
              wrote on last edited by
              #6

              I also have this bug in same conditions (OS and Qt-Creator version)!

              The problem is to debug this error. I only can contribute saying that it seems a problem with CppTools.dll at dissasembler position "710107BF mov ecx,eax".

              Something to debug an executable of Qt-Creator like a PDB file?

              Edit: If it is useful I added the same text in a random file I had open.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                shin
                wrote on last edited by
                #7

                I tried 2.7.2, and I find that it is fixed.
                Thank you !

                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