Missing libQt5Script.a after building Qt 5.2.1 static



  • Hi there,

    I've build the Qt version 5.2.1 static on my PC successful. For my application, I need QSerialPort and QScript libraries. I found libQt5SerialPort.a in the directory of static build, but I still missing libQt5Script.a.

    My configure call was:
    @configure -static -debug-and-release -platform win32-g++ -qt-libpng -no-opengl -no-neon -qt-sql-sqlite no-openssl -opensource -confirm-license -make libs -nomake tools -nomake examples -nomake tests@

    Did I forget something?

    Thank you.


  • Lifetime Qt Champion

    Hi,

    Doesn't look like it, but what you can do is go in the qtscript folder and call qmake/make there. That should build QtScript



  • Thank you, it works.

    Just go to Src/qtscript directory, open the qtscript project and build (Debug and Release).



  • I'm again here and have another question:

    has anybody an idea why the execution of configure from a batch file returns the error message:

    @process_begin: CreateProcess(NULL, del arch.o, ...) failed.
    make (e=2): Das System kann die angegebene Datei nicht finden. (translate: file not found)
    process_begin: CreateProcess(NULL, del arch.exe, ...) failed.
    make (e=2): Das System kann die angegebene Datei nicht finden.
    process_begin: CreateProcess(NULL, del Makefile, ...) failed.
    make (e=2): Das System kann die angegebene Datei nicht finden.@

    but manual execution from cmd prompt returns no errors?

    The environment variables are equal in both command prompts; I tried to execute the configure with START /W configure also, but it produce the same error message.

    Thank you.


  • Lifetime Qt Champion

    Are you really sure the variables are the same ? Are you setting up the development environment properly ?


Log in to reply
 

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