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. Problem after rename of the directory name

Problem after rename of the directory name

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.8k 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.
  • Z Offline
    Z Offline
    ZACXON
    wrote on last edited by
    #1

    I made a copy to upgrade one application (done with Qt 4.7.4 (32 bit) + mingw )
    from
    C:_IHM_V5.0\source
    to
    C:_IHM_V6.0\source

    I changed the project configuration (that's mean updating the application.pro.user file ) for the new direction to the new source directory .
    After compilation the application begin but seems to not be able to use functionnality done by the include files.
    the include files are found when compiled in the sub directory ( include files in C++ to drive an IXXAT apparatus )
    C:_IHM_V6.0\source\inc
    I don(t understant what's going wrong, V6.0 have exactly the same files than V5.0 ( Winmerge said it to me )
    the application works well on C:_IHM_V5.0\source\release or debug directory but not when launched from V6.0\ release, even if that one finished with error code 0.

    .pro file is modified too for include path only

    TEMPLATE = app
    TARGET =
    DEPENDPATH += .
    INCLUDEPATH += C:/_IHM_V6.0/source/inc.
    DEPENDPATH+=C:/WINDOWS/system32

    SOURCES +=
    main.cpp
    vcilibloader.cpp
    VciDevice.cpp
    DeviceList.cpp
    ReadMsg.cpp
    PageParam.cpp
    RetourAxe.cpp
    MaFenetre.cpp
    ConfigAxe.cpp
    Trajectoire.cpp
    Comboboxdelegate.cpp
    Onglet_Axe.cpp
    Onglet_Config.cpp
    Delay_It.cpp

    HEADERS +=
    inc/stdtype.h
    inc/vciIdType.h
    inc/vci3.h
    inc/vcitype.h
    inc/baltype.h
    inc/cantype.h
    inc/vcictrltype.h
    inc/vcinpl.h
    inc/vcierr.h
    inc/predef.h
    vcilibloader.h
    VciDevice.h
    DeviceList.h
    ReadMsg.h
    PageParam.h
    RetourAxe.h
    MaFenetre.h
    ConfigAxe.h
    Trajectoire.h
    Comboboxdelegate.h
    Onglet_Axe.h
    Onglet_Config.h
    Delay_It.h

    FORMS +=

    TRANSLATIONS +=
    ISPMotorInterface_en.ts

    OTHER_FILES +=

    RESOURCES +=
    myapp.qrc

    If somebody can help me to undestand what's going wrong or what I forget to change .

    Thanks

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      If there is any existing Makefile in your new directory, please remove it. Also, you can remove .pro.user file completely and let Qt Creator generate a new one for you automatically.

      (Z(:^

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZACXON
        wrote on last edited by
        #3

        Thank you,
        compiling and running the Qt application works well, even if I remove the makefiles and pro.user file before, it is the same

        I think the dynamic linking of the Ixxat's DLL don't works, but I do not understand why , because the environments are similar

        or perhaps there is another problem due to a message I can read (on relase only) V5.0 before running the message window says :

        FTH: (5292): *** Fault tolerant heap shim applied to current process. This is usually due to previous crashes. ***

        even with this warning, the application run , the dll can be used , and the Qt application quit with code 0

        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