Robbie75
5th August 2014, 14:21
Hello,
We have hired an external guy (Visual Studio-user with no Linux experience whatsoever) to program an Qt application which I (Linux user with no Visual Studio experience whatsoever) now have to deploy on Linux.
AFAIK he used Qt designer and some "official" plugin for Visual Studio, so I guess he did the Qt app the "normal" and usual way. Probably "Notepad" is the default name which he also didn't bother to change.
The source code is organized like this, which I assume is normal for Visual Studio:
./Notepad.sdf
./Notepad
./Notepad/GeneratedFiles
./Notepad/GeneratedFiles/ui_notepad.h
./Notepad/GeneratedFiles/qrc_notepad.cpp
./Notepad/GeneratedFiles/Debug
./Notepad/GeneratedFiles/Debug/moc_notepad.cpp
./Notepad/GeneratedFiles/Release
./Notepad/Notepad.vcxproj
./Notepad/notepad.ui
./Notepad/notepad.cpp
./Notepad/notepad.h
./Notepad/Resources
./Notepad/Debug
./Notepad/Debug/notepad.obj
./Notepad/Debug/qrc_notepad.obj
./Notepad/Debug/Notepad.log
./Notepad/Debug/main.obj
./Notepad/Debug/Notepad.tlog
./Notepad/Debug/Notepad.tlog/custombuild.command.1.tlog
./Notepad/Debug/Notepad.tlog/link.command.1.tlog
./Notepad/Debug/Notepad.tlog/CL.read.1.tlog
./Notepad/Debug/Notepad.tlog/link.write.1.tlog
./Notepad/Debug/Notepad.tlog/cl.command.1.tlog
./Notepad/Debug/Notepad.tlog/CL.write.1.tlog
./Notepad/Debug/Notepad.tlog/link.read.1.tlog
./Notepad/Debug/Notepad.tlog/custombuild.write.1.tlog
./Notepad/Debug/Notepad.tlog/Notepad.lastbuildstate
./Notepad/Debug/Notepad.tlog/custombuild.read.1.tlog
./Notepad/Debug/vc120.pdb
./Notepad/Debug/moc_notepad.obj
./Notepad/main.cpp
./Notepad/notepad.qrc
./Notepad/Notepad.vcxproj.filters
./Notepad/Notepad.vcxproj.user
./Win32
./Win32/Debug
./Win32/Debug/Notepad.ilk
./Win32/Debug/Notepad.pdb
./Win32/Debug/Notepad.exe
./Notepad.sln
./Notepad.v12.suo
no Makefile, no build-script, no nothing.
The application does nothing special (display a GUI and read/write a file and that was it) - is there an easy way to create/get a Makefile to compile it on Linux?
Probably I could easily adapt a Makefile from any Qt application that also uses this MSVS directory structure.
Thanks a lot
We have hired an external guy (Visual Studio-user with no Linux experience whatsoever) to program an Qt application which I (Linux user with no Visual Studio experience whatsoever) now have to deploy on Linux.
AFAIK he used Qt designer and some "official" plugin for Visual Studio, so I guess he did the Qt app the "normal" and usual way. Probably "Notepad" is the default name which he also didn't bother to change.
The source code is organized like this, which I assume is normal for Visual Studio:
./Notepad.sdf
./Notepad
./Notepad/GeneratedFiles
./Notepad/GeneratedFiles/ui_notepad.h
./Notepad/GeneratedFiles/qrc_notepad.cpp
./Notepad/GeneratedFiles/Debug
./Notepad/GeneratedFiles/Debug/moc_notepad.cpp
./Notepad/GeneratedFiles/Release
./Notepad/Notepad.vcxproj
./Notepad/notepad.ui
./Notepad/notepad.cpp
./Notepad/notepad.h
./Notepad/Resources
./Notepad/Debug
./Notepad/Debug/notepad.obj
./Notepad/Debug/qrc_notepad.obj
./Notepad/Debug/Notepad.log
./Notepad/Debug/main.obj
./Notepad/Debug/Notepad.tlog
./Notepad/Debug/Notepad.tlog/custombuild.command.1.tlog
./Notepad/Debug/Notepad.tlog/link.command.1.tlog
./Notepad/Debug/Notepad.tlog/CL.read.1.tlog
./Notepad/Debug/Notepad.tlog/link.write.1.tlog
./Notepad/Debug/Notepad.tlog/cl.command.1.tlog
./Notepad/Debug/Notepad.tlog/CL.write.1.tlog
./Notepad/Debug/Notepad.tlog/link.read.1.tlog
./Notepad/Debug/Notepad.tlog/custombuild.write.1.tlog
./Notepad/Debug/Notepad.tlog/Notepad.lastbuildstate
./Notepad/Debug/Notepad.tlog/custombuild.read.1.tlog
./Notepad/Debug/vc120.pdb
./Notepad/Debug/moc_notepad.obj
./Notepad/main.cpp
./Notepad/notepad.qrc
./Notepad/Notepad.vcxproj.filters
./Notepad/Notepad.vcxproj.user
./Win32
./Win32/Debug
./Win32/Debug/Notepad.ilk
./Win32/Debug/Notepad.pdb
./Win32/Debug/Notepad.exe
./Notepad.sln
./Notepad.v12.suo
no Makefile, no build-script, no nothing.
The application does nothing special (display a GUI and read/write a file and that was it) - is there an easy way to create/get a Makefile to compile it on Linux?
Probably I could easily adapt a Makefile from any Qt application that also uses this MSVS directory structure.
Thanks a lot