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. Deploying a Qt application in Windows 7
Forum Updated to NodeBB v4.3 + New Features

Deploying a Qt application in Windows 7

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.6k 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.
  • X Offline
    X Offline
    xtingray
    wrote on last edited by
    #1

    Hi!

    This is the situation:

    I set up a Qt development environment in my Windows 7 to port a Qt application I made for Linux. The compilation process goes pretty clean, but in the moment I try to run the binary, I got this message from the GDB debugger:
    @Program received signal SIGSEGV, Segmentation fault.
    0x69dea1c6 in QObject::disconnect (sender=0x22fe48,
    signal=0xc769269 "iconSizeChanged(QSize)", receiver=0x1000001,
    method=0xc7692b1 "_q_updateIconSize(QSize)") at kernel/qobject.cpp:2906
    2906 kernel/qobject.cpp: No such file or directory.
    in kernel/qobject.cpp
    Current language: auto; currently c++@
    Note: I copied all the Qt libraries required by my application (QtCore.dll, QtGui.dll, etc) in the directory where the binary file (.exe) is created.

    Is there another library required? What am I missing? Thanks for any hint :)


    Qt Developer

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      Did you try run it from QtCreator?

      1 Reply Last reply
      0
      • X Offline
        X Offline
        xtingray
        wrote on last edited by
        #3

        Yes, that was my frist try indeed and all I got was this from the QtCreator log:
        @Starting C:\tupi\sources\tupi-build-Desktop-Debug\src\bin\tupi.mobile.exe...
        The program has unexpectedly finished.
        C:\tupi\sources\tupi-build-Desktop-Debug\src\bin\tupi.mobile.exe exited with code -1073741819@
        Looking for better information about the issue, I opened a system console and ran the .exe by myself, then I got several messages of missing .dll files. I put all the files required in the same location but the program never started anyway.

        Next step? I ran the application from gdb and then I got the message I shared in the first post. Suggestions? :(


        Qt Developer

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qxoz
          wrote on last edited by
          #4

          This is a trouble in your code. Some part of code works in linux but not in windows. Try find it in debug mode.

          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