summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-01-08 03:19:52 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-01-08 03:21:39 +0100
commita0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3 (patch)
treef6b7e57d98085d406e21eb5308b10486fc159dbc
parentaf4bcf6b8ff32dcb64e6fc4a87db3680189ac93b (diff)
downloadpytqt-a0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3.tar.gz
pytqt-a0b020e7d2ca937033e1b4cea69fbc6a5a73fbf3.zip
pyuic: Delete the current date from the generated files
so that their generation can be reproducible. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--pyuic2/uic.cpp3
-rw-r--r--pyuic3/embed.cpp3
-rw-r--r--pyuic3/main.cpp3
3 files changed, 3 insertions, 6 deletions
diff --git a/pyuic2/uic.cpp b/pyuic2/uic.cpp
index a140ae3..045609d 100644
--- a/pyuic2/uic.cpp
+++ b/pyuic2/uic.cpp
@@ -1571,8 +1571,7 @@ int main( int argc, char * argv[] )
out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl;
out << "#" << endl;
- out << "# Created: " << TQDateTime::currentDateTime().toString() << endl;
- out << "# by: The Python User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
+ out << "# Created by: The Python User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
out << "#" << endl;
out << "# WARNING! All changes made in this file will be lost!" << endl;
out << endl;
diff --git a/pyuic3/embed.cpp b/pyuic3/embed.cpp
index 00e59d0..c3cbc43 100644
--- a/pyuic3/embed.cpp
+++ b/pyuic3/embed.cpp
@@ -128,8 +128,7 @@ void Uic::embed( TQTextStream& out, const char* project, const TQStringList& ima
for ( it = images.begin(); it != images.end(); ++it )
out << "# " << *it << "\n";
out << "#\n";
- out << "# Created: " << TQDateTime::currentDateTime().toString() << "\n";
- out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << "\n";
+ out << "# Created by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << "\n";
out << "#\n";
out << "# WARNING! All changes made in this file will be lost!\n";
diff --git a/pyuic3/main.cpp b/pyuic3/main.cpp
index 42d1c63..a442654 100644
--- a/pyuic3/main.cpp
+++ b/pyuic3/main.cpp
@@ -209,8 +209,7 @@ int main( int argc, char * argv[] )
if ( !subcl ) {
out << "# Form implementation generated from reading ui file '" << fileName << "'" << endl;
out << "#" << endl;
- out << "# Created: " << TQDateTime::currentDateTime().toString() << endl;
- out << "# by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
+ out << "# Created by: The PyTQt User Interface Compiler (pyuic) " << PYTQT_VERSION << endl;
out << "#" << endl;
out << "# WARNING! All changes made in this file will be lost!" << endl;
out << endl;