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. unable to see GUI
Forum Updated to NodeBB v4.3 + New Features

unable to see GUI

Scheduled Pinned Locked Moved Solved General and Desktop
17 Posts 2 Posters 3.1k 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.
  • N Offline
    N Offline
    navya.dubey
    wrote on 2 Aug 2017, 06:49 last edited by
    #1

    I have built my gui in an imported project in qt creator 5.6.1 mingw compiler but the problem is that I am not seeing the same mainwindow.ui what I have built in my project some buttons which I have created there in the .ui file are not visible .
    plaese help

    R 1 Reply Last reply 2 Aug 2017, 06:53
    0
    • N navya.dubey
      2 Aug 2017, 06:49

      I have built my gui in an imported project in qt creator 5.6.1 mingw compiler but the problem is that I am not seeing the same mainwindow.ui what I have built in my project some buttons which I have created there in the .ui file are not visible .
      plaese help

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 2 Aug 2017, 06:53 last edited by
      #2

      @navya.dubey said in unable to see GUI:

      plaese help

      how should that be possible with 2 generic lines of failure description?
      At least show some screenshots, portions of code, some more info like what waws the Qt version created the ui file, etc.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • N Offline
        N Offline
        navya.dubey
        wrote on 2 Aug 2017, 07:04 last edited by
        #3

        0_1501657247187_ERRRRE1.PNG
        This is the current error, I have checked that this extension is present in the include files.

        R 1 Reply Last reply 2 Aug 2017, 07:11
        0
        • N navya.dubey
          2 Aug 2017, 07:04

          0_1501657247187_ERRRRE1.PNG
          This is the current error, I have checked that this extension is present in the include files.

          R Offline
          R Offline
          raven-worx
          Moderators
          wrote on 2 Aug 2017, 07:11 last edited by
          #4

          @navya.dubey
          since you are using mingw it should look for libQt5OpenGLExtensionsd.a not libQt5OpenGLExtensionsd.lib
          Did you mix up mingw and msvc builds settings somehow?!

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          N 1 Reply Last reply 2 Aug 2017, 07:13
          1
          • R raven-worx
            2 Aug 2017, 07:11

            @navya.dubey
            since you are using mingw it should look for libQt5OpenGLExtensionsd.a not libQt5OpenGLExtensionsd.lib
            Did you mix up mingw and msvc builds settings somehow?!

            N Offline
            N Offline
            navya.dubey
            wrote on 2 Aug 2017, 07:13 last edited by
            #5

            @raven-worx I don,t think so, I did something like that because I have downloaded qt with mingw compiler so I need not do any kind of external settings.
            But if you think something like that happens please suggest a way to resolve it.

            R 1 Reply Last reply 2 Aug 2017, 07:19
            0
            • N navya.dubey
              2 Aug 2017, 07:13

              @raven-worx I don,t think so, I did something like that because I have downloaded qt with mingw compiler so I need not do any kind of external settings.
              But if you think something like that happens please suggest a way to resolve it.

              R Offline
              R Offline
              raven-worx
              Moderators
              wrote on 2 Aug 2017, 07:19 last edited by
              #6

              @navya.dubey
              try

              1. clean your project
              2. rerun qmake on the project (right-click on the project name in QtCreator -> "run qmake")
              3. build again

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              N 1 Reply Last reply 2 Aug 2017, 07:24
              1
              • R raven-worx
                2 Aug 2017, 07:19

                @navya.dubey
                try

                1. clean your project
                2. rerun qmake on the project (right-click on the project name in QtCreator -> "run qmake")
                3. build again
                N Offline
                N Offline
                navya.dubey
                wrote on 2 Aug 2017, 07:24 last edited by
                #7

                @raven-worx thank you, this removes the previous error but now as I have stated earlier that I have imported a project from other PC which is working fine on that one, but here it is showing different errors at different times like right now this error is appearing0_1501658662581_err2.PNG

                R 1 Reply Last reply 2 Aug 2017, 07:32
                0
                • N navya.dubey
                  2 Aug 2017, 07:24

                  @raven-worx thank you, this removes the previous error but now as I have stated earlier that I have imported a project from other PC which is working fine on that one, but here it is showing different errors at different times like right now this error is appearing0_1501658662581_err2.PNG

                  R Offline
                  R Offline
                  raven-worx
                  Moderators
                  wrote on 2 Aug 2017, 07:32 last edited by
                  #8

                  @navya.dubey
                  please show the corresponding code lines of the errors

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  N 2 Replies Last reply 2 Aug 2017, 07:41
                  0
                  • R raven-worx
                    2 Aug 2017, 07:32

                    @navya.dubey
                    please show the corresponding code lines of the errors

                    N Offline
                    N Offline
                    navya.dubey
                    wrote on 2 Aug 2017, 07:41 last edited by
                    #9

                    @raven-worx sir that error has been removed now there is a permanent kind of error which shows after each and every error has been removed 0_1501659637848_err2.PNG
                    I have tried to clean the build and rebuild the project but this error is still there

                    1 Reply Last reply
                    0
                    • R raven-worx
                      2 Aug 2017, 07:32

                      @navya.dubey
                      please show the corresponding code lines of the errors

                      N Offline
                      N Offline
                      navya.dubey
                      wrote on 2 Aug 2017, 07:51 last edited by
                      #10

                      @raven-worx
                      You get this error when you don't have a file (Checker.cpp) here to make. It's probably for the following reasons :

                      Your current directory is not the directory in which your file resides.
                      The file may have been moved to somewhere else.
                      Or the worse, the file doesn't exist
                      after looking at this I figured out that my current working directory is C:\Users\trainee2017233\Documents\untitled3, as well as the build directory, is same
                      0_1501660207316_err3.PNG

                      this is the build configuration.

                      R 1 Reply Last reply 2 Aug 2017, 08:02
                      0
                      • N navya.dubey
                        2 Aug 2017, 07:51

                        @raven-worx
                        You get this error when you don't have a file (Checker.cpp) here to make. It's probably for the following reasons :

                        Your current directory is not the directory in which your file resides.
                        The file may have been moved to somewhere else.
                        Or the worse, the file doesn't exist
                        after looking at this I figured out that my current working directory is C:\Users\trainee2017233\Documents\untitled3, as well as the build directory, is same
                        0_1501660207316_err3.PNG

                        this is the build configuration.

                        R Offline
                        R Offline
                        raven-worx
                        Moderators
                        wrote on 2 Aug 2017, 08:02 last edited by
                        #11

                        @navya.dubey
                        again:

                        1. clean your project
                        2. rerun qmake on the project (right-click on the project name in QtCreator -> "run qmake")
                        3. build again

                        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                        If you have a question please use the forum so others can benefit from the solution in the future

                        N 1 Reply Last reply 2 Aug 2017, 10:04
                        1
                        • R raven-worx
                          2 Aug 2017, 08:02

                          @navya.dubey
                          again:

                          1. clean your project
                          2. rerun qmake on the project (right-click on the project name in QtCreator -> "run qmake")
                          3. build again
                          N Offline
                          N Offline
                          navya.dubey
                          wrote on 2 Aug 2017, 10:04 last edited by
                          #12

                          @raven-worx
                          I did this but I don't know why it is not able to find that cpp file and is continuously generating a warning 0_1501668134888_err4.PNG

                          I have checked the folder in My documents
                          0_1501668199191_err5.PNG
                          I can't see all the files here.
                          Do I need to paste that file here?
                          I am very confused please help.

                          R 1 Reply Last reply 2 Aug 2017, 10:07
                          0
                          • N navya.dubey
                            2 Aug 2017, 10:04

                            @raven-worx
                            I did this but I don't know why it is not able to find that cpp file and is continuously generating a warning 0_1501668134888_err4.PNG

                            I have checked the folder in My documents
                            0_1501668199191_err5.PNG
                            I can't see all the files here.
                            Do I need to paste that file here?
                            I am very confused please help.

                            R Offline
                            R Offline
                            raven-worx
                            Moderators
                            wrote on 2 Aug 2017, 10:07 last edited by raven-worx 8 Feb 2017, 10:07
                            #13

                            @navya.dubey
                            are the *.autosave files and the qrc_icones.cpp in your .pro-file?!?! Seems so.
                            Did you added them there? They should be removed.

                            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                            If you have a question please use the forum so others can benefit from the solution in the future

                            N 2 Replies Last reply 2 Aug 2017, 10:44
                            2
                            • R raven-worx
                              2 Aug 2017, 10:07

                              @navya.dubey
                              are the *.autosave files and the qrc_icones.cpp in your .pro-file?!?! Seems so.
                              Did you added them there? They should be removed.

                              N Offline
                              N Offline
                              navya.dubey
                              wrote on 2 Aug 2017, 10:44 last edited by navya.dubey 8 Feb 2017, 10:45
                              #14

                              @raven-worx THANK YOU, IT WORKS

                              1 Reply Last reply
                              0
                              • R raven-worx
                                2 Aug 2017, 10:07

                                @navya.dubey
                                are the *.autosave files and the qrc_icones.cpp in your .pro-file?!?! Seems so.
                                Did you added them there? They should be removed.

                                N Offline
                                N Offline
                                navya.dubey
                                wrote on 2 Aug 2017, 11:21 last edited by
                                #15

                                @raven-worx one more question I want to ask that in my ui the icons are not visible I have included all the images of the icons in the project but there are just empty boxes which are highlighted when hover.
                                0_1501672843011_err6.PNG
                                this is the output screen.

                                R 1 Reply Last reply 2 Aug 2017, 11:28
                                0
                                • N navya.dubey
                                  2 Aug 2017, 11:21

                                  @raven-worx one more question I want to ask that in my ui the icons are not visible I have included all the images of the icons in the project but there are just empty boxes which are highlighted when hover.
                                  0_1501672843011_err6.PNG
                                  this is the output screen.

                                  R Offline
                                  R Offline
                                  raven-worx
                                  Moderators
                                  wrote on 2 Aug 2017, 11:28 last edited by
                                  #16

                                  @navya.dubey
                                  then either you have set the wrong path in the QAction or already in the qrc file?
                                  Any output on the console or build-console?

                                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                                  If you have a question please use the forum so others can benefit from the solution in the future

                                  N 1 Reply Last reply 2 Aug 2017, 11:39
                                  0
                                  • R raven-worx
                                    2 Aug 2017, 11:28

                                    @navya.dubey
                                    then either you have set the wrong path in the QAction or already in the qrc file?
                                    Any output on the console or build-console?

                                    N Offline
                                    N Offline
                                    navya.dubey
                                    wrote on 2 Aug 2017, 11:39 last edited by
                                    #17

                                    @raven-worx where should I check that QAction in mainWindow.cpp?
                                    0_1501673922361_1.PNG 0_1501673927865_2.PNG
                                    these are the outputs.

                                    1 Reply Last reply
                                    0

                                    5/17

                                    2 Aug 2017, 07:13

                                    12 unread
                                    • Login

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