Results 1 to 4 of 4

Thread: Compiling asm file within Qt Creator

  1. #1
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Compiling asm file within Qt Creator

    Hello everyone.

    I am developing a project in Qt Creator for the University I work at, but I have encountered a problem I don't know how to solve, I hope someone can give me the answer.

    I am including the source files of the AngelScript scripting library in the project, but one of the files is an assembly file with .S extension, and it does not seem to be compiled when I build the project. Is there a way to tell Qt Creator to build the ASM file, or is this feature not supported?

    Thank you all for your attention.

  2. #2
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Compiling asm file within Qt Creator

    Hav you tried SOURCES += yourfile.S in your *.pro file?

  3. #3
    Join Date
    Jul 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Compiling asm file within Qt Creator

    Well, sometimes things are way easier than you might think. Sorry for the question, it is the first time that I use Qt (usually code in Cocoa for Mac, but this time I needed it to be multiplatform).

    Your suggestion worked, thank you very much. The problem is that adding the .S file through the "Add existing files..." menu added it to "Other Files" and it was not getting compiled, but doing it editing the .pro file by hand solves it. Thank you again.

  4. #4
    Join Date
    Jul 2017
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Compiling asm file within Qt Creator

    I did the same but can't get my project compiled. Would you letting us know what else you have set up on your .pro file and project settings?

Similar Threads

  1. Qt Creator Compilation error when compiling Qt Creator 2.0 for x64
    By agerlach in forum Qt Tools
    Replies: 2
    Last Post: 9th July 2010, 23:56
  2. Error compiling Qt Creator src on windows
    By munna in forum Installation and Deployment
    Replies: 2
    Last Post: 18th May 2009, 13:58
  3. error compiling Qt Creator
    By gt.beta2 in forum Qt Tools
    Replies: 3
    Last Post: 6th April 2009, 15:49
  4. Compiling with boost.thread in Qt Creator 0.9
    By Envergure in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2008, 08:10
  5. Compiling with boost.thread in Qt Creator 0.9
    By Envergure in forum Qt Programming
    Replies: 0
    Last Post: 28th November 2008, 04:00

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.