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. pde file from qt creator

pde file from qt creator

Scheduled Pinned Locked Moved Solved General and Desktop
8 Posts 4 Posters 908 Views 2 Watching
  • 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.
  • M Offline
    M Offline
    melis
    wrote on last edited by
    #1

    I have qt creator codes and the program works successfully. This codes should produce output which has ".pde" extention. But I couldn't find this ".pde" file on my pc or maybe the program doesn't produce it. If someone helps about that I will be grateful.

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

      Hi,

      Where is it supposed to create that file ?
      Since the path should be known, does it print something on open failure ?

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

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Where is it supposed to create that file ?
        Since the path should be known, does it print something on open failure ?

        M Offline
        M Offline
        melis
        wrote on last edited by
        #3

        @SGaist said in pde file from qt creator:

        here is it supposed to create that fi

        Unfortunately I don't know where is it create that file, I just know I need ".pde" file which is produced from my qt program.
        No it doesn't print any failure. When I run the program it works correctly.

        aha_1980A 1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          look in the build folder.
          under debug / release

          if on a mac, please tell.

          1 Reply Last reply
          0
          • M melis

            @SGaist said in pde file from qt creator:

            here is it supposed to create that fi

            Unfortunately I don't know where is it create that file, I just know I need ".pde" file which is produced from my qt program.
            No it doesn't print any failure. When I run the program it works correctly.

            aha_1980A Offline
            aha_1980A Offline
            aha_1980
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @melis

            I'd search for QFile in the source code, then search when a file is opened for writing and then add add an debug output. E.g.:

            QFile f("some.pde");
            f.open(QIODevice::WriteOnly);
            
            qDebug() << f.fileName(); // add this!
            

            Then you should know where the file is written.

            Qt has to stay free or it will die.

            M 1 Reply Last reply
            3
            • aha_1980A aha_1980

              @melis

              I'd search for QFile in the source code, then search when a file is opened for writing and then add add an debug output. E.g.:

              QFile f("some.pde");
              f.open(QIODevice::WriteOnly);
              
              qDebug() << f.fileName(); // add this!
              

              Then you should know where the file is written.

              M Offline
              M Offline
              melis
              wrote on last edited by melis
              #6

              @aha_1980 0_1544280583849_Untitled.png
              When I did your suggestion, I toke this kind of error.

              aha_1980A 1 Reply Last reply
              0
              • M melis

                @aha_1980 0_1544280583849_Untitled.png
                When I did your suggestion, I toke this kind of error.

                aha_1980A Offline
                aha_1980A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @melis You will probably have to add #include <QDebug> ;)

                Qt has to stay free or it will die.

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

                  You don't do any check that the operations you are doing are successful. You should add that.

                  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
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved