Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Suggestion for documentation improvement for "Creating a Qt Widget Based Application" tutorial (TextFinder application).
QtWS25 Last Chance

Suggestion for documentation improvement for "Creating a Qt Widget Based Application" tutorial (TextFinder application).

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.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.
  • W Offline
    W Offline
    Wodzu
    wrote on last edited by
    #1

    Hello,

    After doing the mentioned tutorial I was getting "(QFile, ":\input.txt"): device not open" error. Just like here. I've lost quite a to of time trying to understand what is going on. I discovered that firstly qmake must be run before running the application. Documentation for the tutorial is silent about this and I think that it should be added there. It might be obvious for experienced user, but it surely isn't for a beginner.

    BTW: is this a correct forum for suggesting documentation improvements?

    As above so below...

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The forum is not the right place for bug reports/feature suggestions. For that you should go to the bug report system.

      Note that you can improve the documentation yourself and submit that for inclusion in Qt.

      But before doing all of that, how did you do the tutorial ? Did you open the project ? Write everything by hand ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Wodzu
        wrote on last edited by
        #3

        Hi,

        I've written everything by hand following the tutorial included in QT Creator.
        Now, I've checked the tutorial which is already written in the examples : "Text Finder Example" and it works out of the box (I don't have to run qmake).

        How can I submit documentation on my own?

        Regards.

        As above so below...

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by SGaist
          #4

          Qt Creator runs qmake for you.

          If you did it on the command line, then the Widgets Tutorial gives the qmake step.

          Is that what you did ?

          As for contributions, here you have the starting point.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          W 1 Reply Last reply
          0
          • SGaistS SGaist

            Qt Creator runs qmake for you.

            If you did it on the command line, then the Widgets Tutorial gives the qmake step.

            Is that what you did ?

            As for contributions, here you have the starting point.

            W Offline
            W Offline
            Wodzu
            wrote on last edited by
            #5

            @SGaist I did "Build Project "textfinder"" and then "Run" but not from the console. I run the commands from Qt Creator.

            As above so below...

            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