Hi!
This works fine with *jpg files - look for you content type...
Hi!
This works fine with *jpg files - look for you content type...
Hi!
Why I get error messages (like this: undefined reference to `QxtMailMessage::QxtMailMessage()') in this part of code:
Qt Code:
QxtMailMessage *message = new QxtMailMessage;To copy to clipboard, switch view to plain text mode
I write in my h-fileQt Code:
#include <QxtNetwork/qxtsmtp.h> #include <QxtNetwork/qxtmailmessage.h>To copy to clipboard, switch view to plain text mode
I use Qt Creator 2.0.1, if it is important
Last edited by Morion_self; 18th June 2011 at 22:21. Reason: error in code
Sounds like a linker error. I've never used Qxt, but probably you'll need to add -lqxt or something like that to compilation options ( check Qxt webpage or README for details ).
Morion_self (18th June 2011)
No, not at the site or in the readme is nothing like that
P.S. I think, I must write but if I do it, I get error: QxtMailMessage: No such file or directory
Last edited by Morion_self; 18th June 2011 at 22:42.
An "undefined reference" is a linker error not a compile error. It has absolutely nothing to do with header files. It means that you have not specified the library that contains the QxtMailMessage object code during the linking of your program.
Morion_self (18th June 2011)
Here is Qxt User Guide, there is "Using Qxt in your project" section.
Morion_self (18th June 2011)
Oh, thanks...
I used only
QXT += core gui
as an example.. bad English =))
Bookmarks