Skip to content
  • 0 Votes
    7 Posts
    4k Views
    S
    @aha_1980 Thanks!!
  • 0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, I haven't done any static compilation of QCA but there's a QT_IS_STATIC in the src CMakeLists.txt. Might be worth playing with it. Hope it helps
  • WinRT Filepicker and CX

    Unsolved Mobile and Embedded winrt filepicke windows phone 8 qt5.7.0
    4
    0 Votes
    4 Posts
    2k Views
    M
    First of all sorry for my very late reply, totally forgot about this forum. I tried to use the QFileDialog from QtWidgets with my QtQuick application, but when closing the filepicker the app stays frozen . Actually I have similar problems with all the CX async stuff, not calling the callback function.
  • How can the user send email to me from my app ?

    Moved Unsolved Brainstorm qt5.7.0
    32
    0 Votes
    32 Posts
    19k Views
    O
    @Ahti do you have your own public server? If so, then perhaps the most easy way would be to code a simple http API that your app (with somekind of authentication obviously) can do a simple http POST to, and that thing then sends the e-mail to you.
  • 0 Votes
    9 Posts
    4k Views
    VRoninV
    There are a number of sites providing this service, most of them commercially. http://verify-email.org/ has a free API limited to 5 checks an hour. https://emailhunter.co/ limits to 150 a month
  • 0 Votes
    5 Posts
    3k Views
    SGaistS
    Glad you found out and thanks for sharing ! No need to be sorry, it's something that other people might hit some days and this thread will help them :)
  • 0 Votes
    14 Posts
    25k Views
    SGaistS
    Looks like you built the qtscript module successfully, that's why I'm asking whether you ran make install before trying to build the example.
  • Qt3D Custom FrameGraph: Surface

    Unsolved General and Desktop qt3d qsurface qt5.7.0 qpixmap
    2
    0 Votes
    2 Posts
    2k Views
    NeoswN
    I have find a way to get a QImage of an QWindow: Make a standard QWindow with is surface and add the following code: // set the current context OpenGL // check if an OpenGlContext is created QOpenGLContext context; context.setFormat(format()); if (!context.create()) qFatal("Cannot create the requested OpenGL context!"); context.makeCurrent(this); // init a new framebuffer QOpenGLFramebufferObjectFormat fboFormat; fboFormat.setAttachment(QOpenGLFramebufferObject::CombinedDepthStencil); fboFormat.setMipmap(true); fboFormat.setSamples(4); fboFormat.setTextureTarget(GL_TEXTURE_2D); fboFormat.setInternalTextureFormat(GL_RGB); resize(this->width(), this->height()); const QRect drawRect(0, 0, this->width(), this->height()); const QSize drawRectSize = drawRect.size(); _fbo = new QOpenGLFramebufferObject(drawRectSize, fboFormat); _fbo->bind(); ... _fboImage = new QImage(_fbo->toImage(false)); But, this is work only if the window is "visible", when it is set to Hidden the rendering of Qt3D was made (the rendering loop, because the GPU is used and the FPS is divided by 3), but the QOpenGLFramebufferObject was not filled :/ Do you have any idea of how force the filling of the fbo ? PS: I have found this here : http://stackoverflow.com/questions/17221730/do-offscreen-renderopengl-with-qt5
  • 0 Votes
    24 Posts
    22k Views
    jsulmJ
    @nitish_linked As @SGaist said use absolute path to your qmake. If you just call qmake the system looks in some predefined locations (like /usr/bin) and in directories PATH is showing to and finds qmake from your distribution.