I want to create a static library .a by QTcreator with a platform on a windows 7,
I want to write function is simply this:
Qt Code:
int sumint(int a,int b) { return a+b; }To copy to clipboard, switch view to plain text mode
can you help me ?
I want to create a static library .a by QTcreator with a platform on a windows 7,
I want to write function is simply this:
Qt Code:
int sumint(int a,int b) { return a+b; }To copy to clipboard, switch view to plain text mode
can you help me ?
What exactly is the problem? Creating a library in Qt Creator doesn't differ in any way from creating it in Notepad.
Create your library first using whatever module you wish, you can turn it into a .a file later when it's complete, or, don't bother with .a and link against the object code.
Bookmarks