Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 2 Support (Qt 5) › static linking

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17431

    Bas

    hi

    I need to build a windows application with v-play and need static linking.

    is there a tutorial on how to do this for minGW?

    or MSVC2017?

    and is it possible to include the qml files as well?

    some help is really appreciated.

    #17433

    Bas

    is it even possible to create a static linked executable with v-play functionality in it for us?

    if not, how can we protect qml files when dynamically linked?

    #17441

    Alex
    Felgo Team

    Hi Bas,

    Felgo actually already comes as a static library, so you would only need to compile Qt statically on your own or ask for a static build if you’re a Qt license holder. There a a couple of instructions and how-tos how to build Qt statically on official documentation and wiki pages, e.g. here: https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW

    May I ask why you want to link statically? Protecting QML files is actually described in our publishing guide here, this is completely independent from using a static or dynamic build.

    Best,

    Alex

    #17444

    Bas

    Hi Alex,

    thanx for the reply.

    the reason is that i build an android app for Nvidia Shield TV (with an extra Activity and startup banner)

    but my client had no trust that the device is holding up for a couple of years and

    when nvidia decides to quit supporting the device then my client has a problem.

    so he made a go for a and chooses for a nuc pc with windows on it.

    to protect the source code QML mainly i can as you described compile it in the executable.

    i wanted to create 1 exe file and don’t have lots of dependencies like dlls or other directories hanging around.

    but that is no problem anymore and i was curious if i could build an exe without dynamically linked files.

     

    greetz Bas

Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded