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. .ui file changes not applied to executable after compiling
QtWS25 Last Chance

.ui file changes not applied to executable after compiling

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 147 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.
  • W Offline
    W Offline
    walle19
    wrote on last edited by
    #1

    Hi All,
    My platform: Linux Kubuntu 14
    QT Version: 4.8

    I am working on a project which consists of several .cpp files.
    Most of these files include .h files that were generated from .ui files desgined via the qt designer tool.

    The steps taken to build the project as follows:

    1. qmake -project
    2. qmake [file].pro
    3. make clean
    4. make mocables
    5. g++ compiling command

    This generally works fine for me generating the (.so) files and executable as intended. Changing .h or .cpp files and building again will generate the updated executable.

    My problem is as follows:
    If changing the .ui file (I have only one in this project), via qt designer tool (and saving the changes), and running the build process again - the changes are not seen when running the executable.
    Only when deleting the .ui's corresponding .h file and building the project again, the executable that is generated consists the changes that were performed on the .ui file.

    Any help is much appreciated.
    cheers

    1 Reply Last reply
    1

    • Login

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