@echo offREM install qmake feature file pointing to the current directoryif not defined QTDIR goto errecho QSERIALPORT_INCDIR = "%CD%\include" > qserialport.prfecho QSERIALPORT_LIBDIR = "%CD%\lib" >> qserialport.prftype qserialport.prf.in >> qserialport.prfcopy qserialport.prf "%QTDIR%\mkspecs\features"echo Installed qserialport.prf as a qmake feature.goto end:errecho Error: QTDIR not set (example: set QTDIR=C:\Qt\4.5.2).goto end:end