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. problem at launch QT Gui app

problem at launch QT Gui app

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 3 Posters 889 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.
  • I Offline
    I Offline
    icemake
    wrote on 28 Aug 2018, 06:30 last edited by
    #1

    Hi

    I have an issue when i launch a QT Gui app
    I have an error "The inferior stopped because it received a signal from the operating system"
    "Signal name : ?
    Signal meaning : Unknown signal"
    When i launch the program on Release, he stop in a file named "Disassembler " on ligne 1176
    "0x68c36e9e <+0x125e> 0f be 03 movsbl (%ebx),%eax"
    When i launch on Debug, he stop to the first ligne
    "QApplication a(argc, argv);"
    this issue apparaet alone whit QT Gui app, if i launch an app whitout Gui, it's works
    somebody know why i have this problem ?

    I have Windows 7
    Qt Creator 4.6.2
    Qt 5.11.1

    PS: Sorry if it's not very good english, i'm french

    R 1 Reply Last reply 28 Aug 2018, 07:20
    0
    • I icemake
      28 Aug 2018, 06:30

      Hi

      I have an issue when i launch a QT Gui app
      I have an error "The inferior stopped because it received a signal from the operating system"
      "Signal name : ?
      Signal meaning : Unknown signal"
      When i launch the program on Release, he stop in a file named "Disassembler " on ligne 1176
      "0x68c36e9e <+0x125e> 0f be 03 movsbl (%ebx),%eax"
      When i launch on Debug, he stop to the first ligne
      "QApplication a(argc, argv);"
      this issue apparaet alone whit QT Gui app, if i launch an app whitout Gui, it's works
      somebody know why i have this problem ?

      I have Windows 7
      Qt Creator 4.6.2
      Qt 5.11.1

      PS: Sorry if it's not very good english, i'm french

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 28 Aug 2018, 07:20 last edited by
      #2

      @icemake
      most probably you didn't deploy your application properly?

      --- 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
      0
      • B Offline
        B Offline
        Buckwheat
        wrote on 28 Aug 2018, 12:22 last edited by
        #3

        Hi @icemake

        Welcome!

        Yes, it looks like it doesn's have all the DLLs or some path is not quite right. It can be hard to deploy Qt manually. Make sure your Qt binary path is in your system path. I have my build script end with:

        windeployqt --compiler-runtime $APPDST -serialbus -serialport -winextras

        I am using deploying for windows: Compiled using MingW

        What you will see when using windeployqt is that it will scan your binary and copy ALL Qt DLLs that are necessary. Sometimes it can miss plugins which is why I specify -serialbus, -serialport, and -winextras.

        You are responsible for any M$VC runtimes our other OS specific libraries but this is much easier to do on windows with dependency walkers and just running and copying until the offending DLLs are all deployed.

        Make a list of these extras so you can always ensure they are deployed!

        Dave Fileccia

        1 Reply Last reply
        0
        • I Offline
          I Offline
          icemake
          wrote on 28 Aug 2018, 13:51 last edited by
          #4

          Hi

          Thanks for your ansers

          i don't understand all you say

          i try to create a new project and i have the same problem but when i took DLL from a QT GUI app working good, it's work
          i don't uderstand why
          (it's work whit a new project but it's not work whit old projet, i have this error : "Le point d'entrée de procédure _ZNK12QFontMetrics17horizontalAdvanceERK7QStringi est introuvable dans la bibliothèque de liens dynamiques Qt5Gui.dll" in French
          "The procedure entry point _ZNK12QFontMetrics17horizontalAdvanceERK7QStringi was not found in the Qt5Gui.dll dynamic-link library" in english (google trad)

          For windeployqt, i don't know if i must put the .exe in the folder of my file or not

          R 1 Reply Last reply 28 Aug 2018, 14:45
          0
          • I icemake
            28 Aug 2018, 13:51

            Hi

            Thanks for your ansers

            i don't understand all you say

            i try to create a new project and i have the same problem but when i took DLL from a QT GUI app working good, it's work
            i don't uderstand why
            (it's work whit a new project but it's not work whit old projet, i have this error : "Le point d'entrée de procédure _ZNK12QFontMetrics17horizontalAdvanceERK7QStringi est introuvable dans la bibliothèque de liens dynamiques Qt5Gui.dll" in French
            "The procedure entry point _ZNK12QFontMetrics17horizontalAdvanceERK7QStringi was not found in the Qt5Gui.dll dynamic-link library" in english (google trad)

            For windeployqt, i don't know if i must put the .exe in the folder of my file or not

            R Offline
            R Offline
            raven-worx
            Moderators
            wrote on 28 Aug 2018, 14:45 last edited by raven-worx
            #5

            @icemake said in problem at launch QT Gui app:

            "The procedure entry point _ZNK12QFontMetrics17horizontalAdvanceERK7QStringi was not found in the Qt5Gui.dll dynamic-link library" in english (google trad)

            then you copied the DLL of an older Qt version
            Or at least not the version you built against

            But using the windeployqt tool (as described in my first link) prevents such mistakes.

            --- 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
            0
            • I Offline
              I Offline
              icemake
              wrote on 29 Aug 2018, 06:47 last edited by
              #6

              Hi

              I found how work windeployqt
              whit that, it's work

              thank's

              1 Reply Last reply
              0

              1/6

              28 Aug 2018, 06:30

              • Login

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