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. erueur when use Qxlnt libray
QtWS25 Last Chance

erueur when use Qxlnt libray

Scheduled Pinned Locked Moved Unsolved General and Desktop
11 Posts 5 Posters 513 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.
  • T Offline
    T Offline
    Teyeb23
    wrote on last edited by
    #1

    I use the libray Qxnlt in qt code c++ for modife the file xlsx the code run
    But when open the file show this eruer !!!
    File is corupted

    C piervalliP 2 Replies Last reply
    0
    • T Teyeb23

      I use the libray Qxnlt in qt code c++ for modife the file xlsx the code run
      But when open the file show this eruer !!!
      File is corupted

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #2

      @Teyeb23 This is not a library that is part of Qt.

      You have a corrupt XLSX file or a file that qxlnt/xlnt cannot handle. If the file exists, is valid, and only uses supported features then you should approach either Qxlnt or Xlnt projects for assistance.

      1 Reply Last reply
      0
      • T Teyeb23

        I use the libray Qxnlt in qt code c++ for modife the file xlsx the code run
        But when open the file show this eruer !!!
        File is corupted

        piervalliP Offline
        piervalliP Offline
        piervalli
        wrote on last edited by
        #3

        @Teyeb23
        Have you open the file with Libre office?

        T 1 Reply Last reply
        0
        • piervalliP piervalli

          @Teyeb23
          Have you open the file with Libre office?

          T Offline
          T Offline
          Teyeb23
          wrote on last edited by Teyeb23
          #4

          @piervalli the file is open but in version repair
          My goal to edit the xlsx file using Qxlnt without coruped the file

          JonBJ 1 Reply Last reply
          0
          • T Teyeb23

            @piervalli the file is open but in version repair
            My goal to edit the xlsx file using Qxlnt without coruped the file

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @Teyeb23 said in erueur when use Qxlnt libray:

            @piervalli the file is open but in version repair

            What does this mean? If the file is corrupted/needs repairing you must do that first, like @ChrisW67 said your library is not going to that.

            T 1 Reply Last reply
            0
            • JonBJ JonB

              @Teyeb23 said in erueur when use Qxlnt libray:

              @piervalli the file is open but in version repair

              What does this mean? If the file is corrupted/needs repairing you must do that first, like @ChrisW67 said your library is not going to that.

              T Offline
              T Offline
              Teyeb23
              wrote on last edited by
              #6

              @JonB when repared the file l fine the modification is add in the file successfully
              Waht the probleme for corupted the file
              So but the libray Qxlnt for manipulation of Xlsx file

              C piervalliP 2 Replies Last reply
              0
              • T Teyeb23

                @JonB when repared the file l fine the modification is add in the file successfully
                Waht the probleme for corupted the file
                So but the libray Qxlnt for manipulation of Xlsx file

                C Offline
                C Offline
                ChrisW67
                wrote on last edited by
                #7

                @Teyeb23 How can we know how your modified file has become corrupt? We cannot see it, how it started, or what you tried to do to it. An XLSX file is just a zipped up collection of other files, perhaps you can start by verifying the zip file integrity.

                1 Reply Last reply
                0
                • T Teyeb23

                  @JonB when repared the file l fine the modification is add in the file successfully
                  Waht the probleme for corupted the file
                  So but the libray Qxlnt for manipulation of Xlsx file

                  piervalliP Offline
                  piervalliP Offline
                  piervalli
                  wrote on last edited by
                  #8

                  @Teyeb23
                  First start with empty sheets and write a cell.
                  Is it corrupted?

                  T 1 Reply Last reply
                  0
                  • piervalliP piervalli

                    @Teyeb23
                    First start with empty sheets and write a cell.
                    Is it corrupted?

                    T Offline
                    T Offline
                    Teyeb23
                    wrote on last edited by Teyeb23
                    #9

                    @piervalli why we start with the sheet empty

                    piervalliP 1 Reply Last reply
                    0
                    • T Teyeb23

                      @piervalli why we start with the sheet empty

                      piervalliP Offline
                      piervalliP Offline
                      piervalli
                      wrote on last edited by
                      #10

                      @Teyeb23
                      Because sheets should be complex with complex formula chart etc...
                      If you start with easy file you can test the library.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SimonSchroeder
                        wrote on last edited by
                        #11

                        I have use xlnt (which Qxlnt is based on) before. What I found is that when you enter an equation and then pull it over several cells xlnt is not able to open that file anymore. There is a fix which hasn't been released yet (last time I checked) which will not crash when you try to open the file, but will corrupt it if you write back to it. So, unless every cell has been entered individually (or imported), don't use Qxlnt/xlnt to work with Excel files. Or help improve the library.

                        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