Deploying problem.



  • Hi there.

    I'm run in some problem, I'cant solve alone.

    compiler trowing at me this
    :-1: error: error: /LIBPATH:C:\Qt\qt-everywhere-opensource-src-5.1.0\qtbase\lib: Invalid argument

    I'm tried to deploy small program, flew QspinBox'es one button and some QLineEdit's.
    It works well in Qt but when I'm try to run it from release folder exe file it trow it cant find lib's Qt5base.lib etc.
    I try to copy all lib's into release folder ( im download depends.exe to find all of them ) but that was waist of time I'm copy about 50MB of libs to run a simple window with flew elements !!! and it still trow me a error's.

    Im Google it and found solution to build it as stand alone ( static ), Ok its sound reasonable, I download about 3 Gigs of stuff MS Visual another Qt in source python ,ruby etc. compile it as Static.
    No big problem then when I try to compile it as static compiler start trowing at me lots of errors, missing libs etc. I'm found solution to that ( copy missing libs to release folder where a make-file is ). but there is one I can't solve:

    g++: error: /LIBPATH:C:\Qt\qt-everywhere-opensource-src-5.1.0\qtbase\lib: Invalid argument

    Anybody had similar issue ?
    Or there is any simply way to deploy program written in Qt i didn't want to broke any rules or etc. program is non commercial and i can publish a source with it.
    I'm created this Calibrator tool for a friend but is crazy to ask hem to download Qt and run it in it.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    You are looking for the "Windows deployment guide":https://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.