Results 1 to 2 of 2

Thread: Qt IGNORING SOURCE CODE

  1. #1
    Join Date
    Aug 2010
    Posts
    16
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Qt IGNORING SOURCE CODE

    I am just completing my first Qt project which is an application for Symbian devices. I periodically made back-ups of the project in different folders (but using the same project name) as I developed the application. I tried unsuccessfully to run the latest copy of the project on a mobile device (which I borrowed briefly) connected to the computer. Now when I open any of the earlier back-ups and try to run it on the simulator by clicking the green button, the output is that of the latest project. The source code is clearly being ignored since even introducing undefined names in the code does not generate any compiler error. Projects which are not copies of the project in question are running as expected. I am using Qt 4.7 which I installed a few days ago from the Internet. The projects were started on the beta version but I have run them on the latest Qt installation without any problems. I am using Windows Vista Business.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt IGNORING SOURCE CODE

    Qt isn't ignoring your source code (actually, it doesn't even care about your source code, I assume you mean Qt Creator). You have the classic bug of multiple projects of the same name in different folders so you don't know which files are actually being used by the compiler.

    When you figure out which files are the correct ones, perhaps you should look into version control, rather than just copying the folder. It is the preferred method and offers many more features (eg. full version history and logging of each and every change)

Similar Threads

  1. QT Project source code
    By darpan in forum Qt Programming
    Replies: 3
    Last Post: 27th December 2012, 16:16
  2. Where is the source code?
    By Fletcher in forum Newbie
    Replies: 1
    Last Post: 10th December 2009, 20:45
  3. Source code
    By afflictedd2 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2008, 09:04
  4. source code
    By Colx007 in forum Newbie
    Replies: 5
    Last Post: 19th December 2007, 09:15
  5. Qte source code
    By Gaurav vyas in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 1st July 2007, 14:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.