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. Create a matrix from a .csv file
QtWS25 Last Chance

Create a matrix from a .csv file

Scheduled Pinned Locked Moved Solved General and Desktop
140 Posts 2 Posters 50.9k 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.
  • A AliM93
    31 May 2020, 01:38

    i try to clean and build and this comes out...

    M Offline
    M Offline
    mrjj
    Lifetime Qt Champion
    wrote on 31 May 2020, 01:40 last edited by
    #94

    @AliM93
    Hmm . must be a cmake thing.

    The .h seems correctly spelled
    and this is in same project?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AliM93
      wrote on 31 May 2020, 01:43 last edited by
      #95

      yes, i try to change the .h include because sometimes i need to add the path

      #include "../include/agree_gui/matrixwidget.h"
      
      1 Reply Last reply
      0
      • A Offline
        A Offline
        AliM93
        wrote on 31 May 2020, 01:43 last edited by
        #96

        but nothing change.

        M 1 Reply Last reply 31 May 2020, 01:45
        0
        • A Offline
          A Offline
          AliM93
          wrote on 31 May 2020, 01:44 last edited by
          #97

          Invoking "make -j12 -l12" failed
          03:44:23: The process "/opt/ros/melodic/bin/catkin_make" exited with code 1.
          Error while building/deploying project catkin_ws (kit: Desktop)
          When executing step "CatkinMake Step"

          1 Reply Last reply
          0
          • A AliM93
            31 May 2020, 01:43

            but nothing change.

            M Offline
            M Offline
            mrjj
            Lifetime Qt Champion
            wrote on 31 May 2020, 01:45 last edited by
            #98

            @AliM93
            That i dont know why.
            works with Qmake.

            can you try my project ?

            https://www.dropbox.com/s/s0oc2poey2b95pq/GridWidgetApp.zip?dl=0

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AliM93
              wrote on 31 May 2020, 01:45 last edited by
              #99
              This post is deleted!
              1 Reply Last reply
              0
              • A Offline
                A Offline
                AliM93
                wrote on 31 May 2020, 01:46 last edited by
                #100

                please can you help me to find the error?

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AliM93
                  wrote on 31 May 2020, 01:47 last edited by
                  #101

                  everything works thine, maybe something went wrong with the promotion?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    AliM93
                    wrote on 31 May 2020, 01:50 last edited by
                    #102
                    This post is deleted!
                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      AliM93
                      wrote on 31 May 2020, 01:50 last edited by
                      #103

                      i get this error when i clean.. but i don't know why

                      M 1 Reply Last reply 31 May 2020, 01:52
                      0
                      • A Offline
                        A Offline
                        AliM93
                        wrote on 31 May 2020, 01:52 last edited by
                        #104
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • A AliM93
                          31 May 2020, 01:50

                          i get this error when i clean.. but i don't know why

                          M Offline
                          M Offline
                          mrjj
                          Lifetime Qt Champion
                          wrote on 31 May 2020, 01:52 last edited by
                          #105

                          @AliM93
                          its due to you having the auto generated file open
                          just press Close.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on 31 May 2020, 01:54 last edited by
                            #106

                            Hmm
                            it seems cmake is confused.
                            about the includes.

                            Lets demote the widget and then you can add it to the dialog as you normal does.

                            Demote is important else you get error for ever.
                            sec.
                            shots

                            1 Reply Last reply
                            0
                            • M Offline
                              M Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on 31 May 2020, 01:56 last edited by
                              #107

                              ok go to
                              GridDialog UI
                              and then right click the widget
                              alt text

                              THIS IS ULTRA IMPORTANT as ELSE it will fail again and again as it still remembers the promotion.

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                AliM93
                                wrote on 31 May 2020, 01:57 last edited by
                                #108

                                i have to do only this? morph into QWidget

                                M 1 Reply Last reply 31 May 2020, 01:57
                                0
                                • M Offline
                                  M Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on 31 May 2020, 01:57 last edited by
                                  #109

                                  Next step is to then include matrixwidget.h and
                                  make it like it.
                                  I dont know your structure so not sure why it dont see it.
                                  You have to make it like the include.

                                  1 Reply Last reply
                                  0
                                  • A AliM93
                                    31 May 2020, 01:57

                                    i have to do only this? morph into QWidget

                                    M Offline
                                    M Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on 31 May 2020, 01:57 last edited by
                                    #110

                                    @AliM93
                                    Yes to get rid of the promotion we tried.

                                    1 Reply Last reply
                                    0
                                    • A Offline
                                      A Offline
                                      AliM93
                                      wrote on 31 May 2020, 01:58 last edited by
                                      #111

                                      done, so now i have to include into file grid the matrix

                                      M 1 Reply Last reply 31 May 2020, 01:59
                                      0
                                      • A AliM93
                                        31 May 2020, 01:58

                                        done, so now i have to include into file grid the matrix

                                        M Offline
                                        M Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on 31 May 2020, 01:59 last edited by
                                        #112

                                        @AliM93
                                        yes and see if it will accept it.
                                        Then we need to new a matrixwidget in GridDialog

                                        A 1 Reply Last reply 31 May 2020, 02:00
                                        0
                                        • M mrjj
                                          31 May 2020, 01:59

                                          @AliM93
                                          yes and see if it will accept it.
                                          Then we need to new a matrixwidget in GridDialog

                                          A Offline
                                          A Offline
                                          AliM93
                                          wrote on 31 May 2020, 02:00 last edited by
                                          #113

                                          so i add the include of matrix.h in the grid.cpp

                                          M 1 Reply Last reply 31 May 2020, 02:00
                                          0

                                          103/140

                                          31 May 2020, 01:50

                                          • Login

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