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. [Solved] weird message for run plugin
Forum Updated to NodeBB v4.3 + New Features

[Solved] weird message for run plugin

Scheduled Pinned Locked Moved General and Desktop
11 Posts 4 Posters 3.0k 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.
  • W Offline
    W Offline
    whitesong
    wrote on last edited by
    #1

    I wrote a simple plugin that is in C++ GUI Programming with Qt 4 e-book and everything is correct but when i debug it appear a window that include 3 textboxes. first textbox is for excutable second is for Argument and third is for Working Directory.
    !http://s7.postimage.org/gzvsjtkbv/untitled.png(error message)!

    but i have no idea what these is, interesting point is in the book or document of plugin no mentioned about this window and i still dont know what i do. have anyone idea?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      You need to check the project settings in creator.
      Go to "Projects" on the left bar. You should see now the settings of your project on the "Build&Run" knob. Below a bit to the right you will find distinguished buttons for "Build" and "Run". Press the run button.

      You should see now the Run settings and the entries given above are shown there as well. There is no executable defined in your run settings. So creator does not know which executable to start. You can define it here.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • W Offline
        W Offline
        whitesong
        wrote on last edited by
        #3

        thanks
        but i dont know what i write in executable filed and argument filed and working directory.
        I filled the executable filed with something like "..\1.exe" but the project hasn't built yet that i can specify its .exe file

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          Did you try to build?
          In your first post you state that everything is correct and you got the message while starting to debug.

          Anyhow, try to build the project.
          Post some of your code and .pro for better understanding where there might be a problem.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tobias.hunger
            wrote on last edited by
            #5

            Whenever creator does not know which binaries are going to be built by the build system of your choice, then it will use a so called "Custom Executable Run Configuration". If you did not configure that one in Projects mode (Run Settings), then it Creator will pop up this window when you try to run something for the first time.

            At this point your binaries should be build already. You need to give the executable to run, the arguments to pass to the executable as well as the directory to run it in. I think that is pretty self-explainatory.

            Creator does not know which executables you are building when you use a build-system other than qmake or any qmake project without a executable target (e.g. when you build a library only).

            1 Reply Last reply
            0
            • W Offline
              W Offline
              whitesong
              wrote on last edited by
              #6

              thanks about your consideration but i know that first i must build the project after that run it. I think is better show you the code. this code is a practice for plugin that came in the C++ GUI Programming with Qt 4 book and i'll show you all of it. but if i write it here my post will be too long please download it with this link "iconeditorplugin":https://www.4shared.com/rar/v9AIUaZC/iconeditorplugin.html

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                That explains it then: You can obviously not run a plugin, so creator asks for something else to run instead. This is so that you can start the application this plugin is meant for.

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  whitesong
                  wrote on last edited by
                  #8

                  thanks this is first time I wrote a plugin. would you show me a example or book for using plugin?

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #9

                    So into which application does this plugin plug into?

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Sam
                      wrote on last edited by
                      #10

                      @whitesong

                      You can take a look at "this":http://voidrealms.com/viewtutorial.aspx?id=246 video tutorial on plugins.

                      1 Reply Last reply
                      0
                      • W Offline
                        W Offline
                        whitesong
                        wrote on last edited by
                        #11

                        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