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.8k 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

    thank, only one thimg, i get error with your code, i can use Griddialog = new griddialog(this);
    griddialog ->show();

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by mrjj
    #79

    @AliM93

    Mind the case

    Griddialog = new griddialog(this); <<< that is not correct class name and u missed * and name

    GridDialog * dia = new GridDialog (this);

    GridDialog <<< class name

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AliM93
      wrote on last edited by
      #80

      i get error, i have something to declare in main_window.h?

      mrjjM 1 Reply Last reply
      0
      • A AliM93

        i get error, i have something to declare in main_window.h?

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #81

        @AliM93
        well you must have the GridDialog.h include file

        1 Reply Last reply
        0
        • A Offline
          A Offline
          AliM93
          wrote on last edited by
          #82

          ii've done that

          mrjjM 1 Reply Last reply
          0
          • A AliM93

            ii've done that

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #83

            @AliM93
            Then you must have missspelled something as that is all you need.
            Show excact code and the error

            1 Reply Last reply
            0
            • A Offline
              A Offline
              AliM93
              wrote on last edited by
              #84

              maybe i have to include something also in griddialog?

              mrjjM 1 Reply Last reply
              0
              • A AliM93

                maybe i have to include something also in griddialog?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #85

                @AliM93
                Creator did that when you promoted.

                Please show real error :)

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  AliM93
                  wrote on last edited by
                  #86
                  This post is deleted!
                  A 1 Reply Last reply
                  0
                  • A AliM93

                    This post is deleted!

                    A Offline
                    A Offline
                    AliM93
                    wrote on last edited by
                    #87

                    @AliM93 i try to put what you suggest me in the function f button released, but nothing changes

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

                      Try a clean build.
                      It seems correct.

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

                        I think we did the same so not sure why you cannot compile.
                        alt text

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

                          Wairt you have odd error

                          That in from of MainWindow is wrong!

                          and u use picture again so cant paste .

                          alt text

                          That is not legal syntax

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            AliM93
                            wrote on last edited by
                            #91
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              AliM93
                              wrote on last edited by
                              #92

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

                              mrjjM 1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                AliM93
                                wrote on last edited by
                                #93

                                sorry, i didn't see your message

                                1 Reply Last reply
                                0
                                • A AliM93

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

                                  mrjjM Offline
                                  mrjjM Offline
                                  mrjj
                                  Lifetime Qt Champion
                                  wrote on 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 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 last edited by
                                      #96

                                      but nothing change.

                                      mrjjM 1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        AliM93
                                        wrote on 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

                                          but nothing change.

                                          mrjjM Offline
                                          mrjjM Offline
                                          mrjj
                                          Lifetime Qt Champion
                                          wrote on 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

                                          • Login

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