Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-22152

build fails - extra semicolong in tst_qscriptengine.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.0.0
    • 4.7.4
    • Qt Script
    • None
    • Solaris 11express
      sun studio 12.1
    • 4b8f98af134e188b8915dd8fb5d61275d834cfd0

    Description

      building test of qt 4.7.4 fails with the below error. This is because qt macros should not be followed by a semicolon

      "tst_qscriptengine.cpp", line 3138: Error: "}" expected instead of ";".

      fix:
      — tests/auto/qscriptengine/tst_qscriptengine.cpp.orig 2011-10-18 21:47:06.892596688 +0100
      +++ tests/auto/qscriptengine/tst_qscriptengine.cpp 2011-10-18 21:50:31.822778411 +0100
      @@ -3135,7 +3135,7 @@
      }

      class ThreadedEngine : public QThread {

      • Q_OBJECT;
        + Q_OBJECT

      private:
      QScriptEngine* m_engine;

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kenthans Kent Hansen (Inactive)
            hajma Pavel Heimlich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes