Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problems getting QT to work as Netbeans QTApplication on Windows 10
Forum Updated to NodeBB v4.3 + New Features

Problems getting QT to work as Netbeans QTApplication on Windows 10

Scheduled Pinned Locked Moved Solved Installation and Deployment
16 Posts 2 Posters 1.5k Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #7

    Wait, there's something fishy, you mention both Visual Studio and MinGW. Which one are you using ?

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

    D 1 Reply Last reply
    0
    • SGaistS SGaist

      Wait, there's something fishy, you mention both Visual Studio and MinGW. Which one are you using ?

      D Offline
      D Offline
      d.rein
      wrote on last edited by
      #8

      @SGaist Currently i use msvc2017_64 in VS. Bin GW is also installed but i use mingw only with netbeans. Are there any env vars i need to set?
      Sry about so much questions but I cant understand whats going on with my VS or Netbeans

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

        Which plugin are you using with Visual Studio ? Did you start from a .pro file ?

        As for netbeans, you can take a look at the environment variables in the Run part of the Project panel in Qt Creator.

        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
        0
        • D Offline
          D Offline
          d.rein
          wrote on last edited by d.rein
          #10

          I am using Qt Visual Studio Tools v2.6.0.7
          I installed a new VS and QT(Online Installer) on a fresh Win 10 64bit VM
          QT Creator works fine, again.
          In VS i installed QT VS Tools and within VS QT Tools msvc2015 32 & 64 bit
          After restated VS i created a new Qt Widget Project.
          My execute error is gone away, yeahh !!! but 2 error left.

          alt text

          I Hope you can help me

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

            I would say that means that uic was not run to generate the code from your .ui files.

            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
            0
            • D Offline
              D Offline
              d.rein
              wrote on last edited by
              #12

              It works but i have to add the path to the ui_*.h file. Do i have to install uic manually?

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

                uic is in the same folder as qmake.

                You need an equivalent to a custom step that will run uic on your .ui files and generate the output in the build folder.

                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
                • D Offline
                  D Offline
                  d.rein
                  wrote on last edited by d.rein
                  #14

                  Finally i found my Solution :-)
                  It's a bit strange, but to make the error messages disappear, I just have to change something (no matter what) in the project settings and then click Apply. After that everything works ...

                  the uic, moc and rcc files are created in the own folders in the ../x64/debug folder.

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

                    Great !

                    These generated files should go in the build folder so everything is fine.

                    Since you have it working now please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :-)

                    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
                    0
                    • D Offline
                      D Offline
                      d.rein
                      wrote on last edited by
                      #16

                      Thanks for your help

                      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