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

error in loadScripts() in qscript example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.1.0
    • 4.8.4, 5.0.0
    • Qt Script
    • None

    Description

      The loadScripts function in examples/script/qscript/main.cpp loops through the script argument to load the given script files. However, the script to load is hard-coded to the 0th argument:

          for (int i = 0; i < context->argumentCount(); ++i) {
             QString fileName = context->argument(0).toString();
             ....
          }
      

      Attachments

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

        Activity

          People

            nierob Nierob
            tsimpson Terence Simpson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes