Results 1 to 2 of 2

Thread: Implementing VMime in qt project

  1. #1
    Join Date
    Dec 2017
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Implementing VMime in qt project

    Hello everyone, so I've been struggling for days now trying to achieve this mission impossible, due to my lack of experience with qt. So I have to build an application where the user of the application is able to send emails from the application to a gmail account, I was able to do that using smtp, however, I'd like to send a button or link in that email where the receiver is able to click it to confirm something, and when he does, the user of the application is notified without logging in to gmail. I've done some research, I found a library VMime, but I got stuck trying to follow this tuto http://web.archive.org/web/201512012....omgwtfbbq.nl/ , cause when I run make with libgpg-error I get
    $ make
    make all-recursive
    make[1]: Entering directory `/usr/home/usr/libgpg-error-1.27'
    Making all in m4
    make[2]: Entering directory `/usr/home/usr/libgpg-error-1.27/m4'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/usr/home/usr/libgpg-error-1.27/m4'
    Making all in src
    make[2]: Entering directory `/usr/home/usr/libgpg-error-1.27/src'
    make all-am
    make[3]: Entering directory `/usr/home/usr/libgpg-error-1.27/src'
    /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/mingw/share/locale\" -I/mingw/include -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-estream.lo -MD -MP -MF .deps/libgpg_error_la-w32-estream.Tpo -c -o libgpg_error_la-w32-estream.lo `test -f 'w32-estream.c' || echo './'`w32-estream.c
    libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/mingw/share/locale\" -I/mingw/include -g -O2 -Wall -Wpointer-arith -Wno-psabi -MT libgpg_error_la-w32-estream.lo -MD -MP -MF .deps/libgpg_error_la-w32-estream.Tpo -c w32-estream.c -DDLL_EXPORT -DPIC -o .libs/libgpg_error_la-w32-estream.o
    w32-estream.c: In function '_gpgrt_w32_poll':
    w32-estream.c:779:8: warning: variable 'waitinfo' set but not used [-Wunused-but-set-variable]
    char waitinfo[MAXIMUM_WAIT_OBJECTS];
    ^~~~~~~~
    w32-estream.c: In function 'func_w32_pollable_seek':
    w32-estream.c:1012:23: error: 'EOPNOTSUPP' undeclared (first use in this function)
    _gpg_err_set_errno (EOPNOTSUPP);
    ^~~~~~~~~~
    w32-estream.c:1012:23: note: each undeclared identifier is reported only once for each function it appears in
    w32-estream.c: In function 'func_w32_pollable_ioctl':
    w32-estream.c:1038:23: error: 'EOPNOTSUPP' undeclared (first use in this function)
    _gpg_err_set_errno (EOPNOTSUPP);
    ^~~~~~~~~~
    make[3]: *** [libgpg_error_la-w32-estream.lo] Error 1
    make[3]: Leaving directory `/usr/home/usr/libgpg-error-1.27/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/usr/home/usr/libgpg-error-1.27/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/home/usr/libgpg-error-1.27'
    make: *** [all] Error 2
    So now I have no clue what to do.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Implementing VMime in qt project

    due to my lack of experience with qt
    cause when I run make with libgpg-error I get
    It seems you have problem to build libvmime with MinGW - which has nothing to do with Qt, or even programming.

    Search in your code for the declaration of EOPNOTSUPP and makes sure you have the definition for the code in the header containing it.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 1
    Last Post: 4th December 2009, 00:34
  2. implementing 'scrollview'
    By rishiraj in forum Newbie
    Replies: 1
    Last Post: 18th December 2008, 13:23
  3. Implementing a butcon
    By Theo Landman in forum Qt Programming
    Replies: 4
    Last Post: 6th August 2007, 21:21
  4. Implementing IME using QT
    By pmohod in forum Qt Programming
    Replies: 0
    Last Post: 16th February 2007, 13:22
  5. Implementing gif images in QT 3.3.2
    By vvbkumar in forum Qt Programming
    Replies: 3
    Last Post: 21st July 2006, 18:16

Tags for this Thread

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.