Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Missing libQt5Script.a after building Qt 5.2.1 static
Forum Updated to NodeBB v4.3 + New Features

Missing libQt5Script.a after building Qt 5.2.1 static

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SavedS Offline
    SavedS Offline
    Saved
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • SavedS Offline
        SavedS Offline
        Saved
        wrote on last edited by
        #3

        Thank you, it works.

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

        1 Reply Last reply
        0
        • SavedS Offline
          SavedS Offline
          Saved
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

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

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved